i think you have backgrounded the awk, but not the tail.
i think what you want is

        for(f){
                {tail -f $f | awk '{print "'^$f^':" $0}'}&}
        }

it sure looks like there are excessive {}s, but i think they are necessary.
otherwise & will bind to either awk or the for.

- erik

Reply via email to