procmail
[Top] [All Lists]

Re: problems with single quote characters

2000-03-28 11:49:24
Hi Harold,

* Harold wrote on 28 Mär 2000:

FROM=`formail -zxFrom:`
TO=`formail -zxTo:`
CC=`formail -zxCc:`
DATE=`formail -zxDate:`
ID=`formail -zxMessage-ID:`
BODY=`formail -I ""`
SUBJECT=`formail -zxSubject`

is it possible to convert all single quote characters to something that is
safe to use?

e.g.

FROM=`formail -zxFrom: | sed -e "s/'/whatever/g"`

HTH,

regards,

Sebastian
-- 
"No worries." - Rincewind

Sebastian Helms   -  mailto:sebastian(_at_)helms(_dot_)sh (PGP available)

<Prev in Thread] Current Thread [Next in Thread>