procmail
[Top] [All Lists]

Re: trailing whitespace

1997-11-07 22:28:46
Where I suggested this way of setting a variable to space-tab-newline
to Jari Aalto,

WSPACE = "      "'
'
or some of you may prefer this:

WSPACE = '      '"
"

Ed Sabol's recommendation was this:

WSPACE = "      
"
which he detailed as follows:

| (That's "WSPACE = ", then a double-quote, a space, and a tab, then hit the
| return key, then another double-quote.)

I'd be hesitant to use that.  First, I'm not sure procmail will preserve the
trailing whitespace; it may not work in the first place.  Second, since I
can't see the trailing whitespace when I'm reading or editing the rcfile,
I risk deleting it or changing it to a different whitespace-only string.

In my own rcfiles I've made a consistent practice of making trailing spaces
in regexps apparent to my eyes.  Here are several ways:

  * rest of string( )
  * (rest of string )
  * rest of string ()
  * rest of string[ ]

The third is probably the one procmail can handle the most efficiently.

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