procmail
[Top] [All Lists]

Re: multiply by -1

2005-07-07 08:03:13
Dallman Ross wrote:

One could also use $_ -- though HOST is usually going
to be shorter.

No, because first you have to save $_ in an ordinary variable:

  * $ $VAR^-2 _ ?? ^^.|.^^

won't work.

Moreover, even with

  RCFILE = $_

and then

  * $ $VAR^-2 RCFILE ?? ^^.|.^^

some wag could set up an rcfile whose name begins or ends with a hard 
newline.  (Does $_ always include the full path?  I believe that inside 
an rcfile called with SWITCHRC or INCLUDERC, it has whatever name was 
given in the calling assignment.)

Any ideas on the conversion of EST/GMT/whatever from
a library available to the shell?

None from me.


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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