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

mhmail [EMAIL PROTECTED] -subject $command -from [EMAIL PROTECTED]
-body " "


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...

Thanks for any help,
eric


-- 
Mandrake HowTo's & More:          http://twiki.mdklinuxfaq.org

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to