On Tue, Oct 28, 2003 at 08:12:06PM -0800, Eric Huff wrote: > I am trying to get a script to work. It is much more complicated > than this, but i have boiled it down to this to debug it: > > command='"dodge plymouth"' > > echo $command <snip> > But when the mhmail line runs, it apears to seperate at the space: > > ~/a/_linux/A_mandrake/mailinglist $ ./remove.bash > "dodge plymouth" > post: bad address 'plymouth"' - missing mailbox (" > ymouth), continuing... > post: 1 address unparsable > /usr/lib/nmh/post: exit 1 > Letter saved in dead.letter > > > mhmail [EMAIL PROTECTED] -subject "dodge plymouth" -from > [EMAIL PROTECTED] -body " " > > works fine, so i know it is in the $command part...
Quote $command mhmail to -subject "$command" ... Todd
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com