On 5/15/07, erik quanstrom <[EMAIL PROTECTED]> wrote:
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.

I suspected that and will try it, but the man page is pretty clear (I
thought) that
a|b is a single command. I still think the & should bind to the
pipeline, but ...

ron

Reply via email to