Try

SH -c 'mpack -s "this is the subject" -d body.file attachement.pdf emailname'

(changed outer " to ')



Don Kibbey wrote:

>I'm attempting to make use of a program called "mpack" which requires
>some command line arguments to be quoted.  While doing this, I'm
>getting some over quoting and things are not worked as they should. 
>Is there another character or technique (aside from writing the
>command out as a script and executing it that way) which can be used
>to get around this?
>
>Here's and example of the command I would like to use.
>
>mpack -s "this is the subject" -d body.file attachement.pdf emailname
>
>To execute this I have to wrap it in quotes like this.
>
>SH -c "mpack -s "this is the subject" -d body.file attachement.pdf emailname"
>
>This of course makes a mess...
>
>Any ideas?  Or am I just being goofy today?
>-------
>u2-users mailing list
>[email protected]
>To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type text/x-vcard which had a name of 
john.vcf]
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to