procmail
[Top] [All Lists]

Re: Showing all env vars

2005-04-20 08:18:07
Bart Schaefer wrote:

On 4/20/05, Dallman Ross <dman(_at_)nomotek(_dot_)com> wrote:

 SHELL = /bin/sh
 LOG = `dummy=; export $dummy`

After reading Dallman's post I was going to say it's the same as

 LOG=`export;`

Bart replied first, saying,

Er, that should be just the same as

LOG=`export`

but I honestly believe that Bart's syntax is wrong and mine is right. Procmail is not going to find an executable named "export" in $PATH; export is a shell built-in and can be used only within a shell.

You may find that

LOG=`typeset +x`

is a better choice.

I have the same disagreement there --

 LOG=`typeset +x;`

because typeset is also a shell built-in and not an executable.


____________________________________________________________
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>