On 11/2/06, Scott Morris <[EMAIL PROTECTED]> wrote:
I have this bash script, as follows:

#!/bin/sh
[EMAIL PROTECTED]
SUBJECT="Running on `hostname`"
ls | mail -s ""$SUBJECT" - sent" "$RECIP"

Try

ls | mail -s "$SUBJECT - sent" $RECIP

or

ls | mail -s "\"$SUBJECT\" - sent" $RECIP

instead.

Michael

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to