On Thu, July 8, 2010 10:30, Rich Shepard wrote: > 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 >
Shouldn't set $all="cat list" be set $all=`cat list` Tim -- Timothy J. Bruce visit my Website at: http://www.tbruce.com Registered Linux User #325725 _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
