This is a quick attempt at multitail, which does a tail -f on lots of
files, printing the lines from each with the name prepended.

This thing almost works -- except it blocks on each command, not & as
I expect. What did I do wrong?

#!/bin/rc
for(f)
        tail -f $f |  awk '{print "'^$f^':" $0}'&


ron

Reply via email to