procmail
[Top] [All Lists]

Re: multiple words in procmailrc's variables

1998-08-19 11:47:03
I wrote in reply to Walter Haidinger,

| > Procmail translates ! into | "$SENDMAIL" "$SENDMAILFLAGS" as the
| > procmailrc(5) man page warns us.  By the rules of sh quoting, that explains
| > the results both times.

Walter responded,

| Of course! Simply RTFM isn't enough if you overlook the small print, i.e.
| quotes here.
| Thanks, Walter

You're welcome.  Frankly, I think it's a bug in procmail, because it doesn't
allow putting soft spaces into $SENDMAILFLAGS.  Better if ! translated to
| "$SENDMAIL" $SENDMAILFLAGS, and if $SENDMAILFLAGS needed any internal
quoting, it could be supplied in the definition, like this:

  SENDMAILFLAGS="'-something' '-something else'"

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