When I run this script:

set $all="cat list"
for x in $all; `cat msg2 | mailx -s "Test Message"' $x

   I see this error:

-bash: syntax error near unexpected token `cat msg2 | mailx -s "Test
Message"'

   What have I done incorrectly? Is it the semi-colon?

   Typing on two lines (beaking after the semi-colon) makes no difference.

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to