On Wed, 2005-08-31 at 11:24 +0300, David Harel wrote:
> Hi all,
> I really am ashame to ask this question but I did not find an answer for 
> it in any documentation I searched (I have serious doubts bout my 
> searching skills).
> 
> Here is a script fragment.
> ---------------------------
> #!/bin/bash
> 
> subject='Set UID program scan results'
> address="[EMAIL PROTECTED]"
> mailcommand="mutt $address -s $subject"
> 
> $mailcommand << okfff
> Some message body.
> 
> okfff
> ---------------------------
> 
> This failles to work because the quotes on the subject field are 
> stripped. I also tried the '@' operator.

Did you try:
subject="'Set UID program scan results'"

I tested using the following commands (entered into interactive bash so
YMMV):
au="bcg"
echo $au
au="'bcg'"
echo $au
echo "goniff is $au"
                                        --- Omer
-- 
Jara Cimrman.  A name to remember.
My own blog is at http://www.livejournal.com/users/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to