cmd includes for's body:
cmdsa: cmd ';'
| cmd '&' {$$=tree1('&', $1);}
...
| FOR '(' word IN words ')' {skipnl();} cmd
use
for(f)
{tail -f $f | awk '{print "'^$f^':" $0}'&}
cmd includes for's body:
cmdsa: cmd ';'
| cmd '&' {$$=tree1('&', $1);}
...
| FOR '(' word IN words ')' {skipnl();} cmd
use
for(f)
{tail -f $f | awk '{print "'^$f^':" $0}'&}