Re: pipe problem

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Greg A. Woods
Fecha:  
A: Philip Hazel
Cc: patl, Robert Black, David Blacka, Pete Ashdown, exim-users
Asunto: Re: pipe problem
[ On Fri, March 7, 1997 at 09:30:42 (+0000), Philip Hazel wrote: ]
> Subject: Re: pipe problem
>
> I must agree with that. One of the advantages of _not_ using a shell is
> that you don't have to worry about meta-characters turning up in
> variables you are inserting.


You may misunderstand the intent.

The "use-a-shell" option would normally imply that a shell sill be used
to parse the command line, thus you must always worry about
meta-characters in this case. If exim had the 'shquote' variable
expansion qualifier then ensuring the sanctity of values to be passed on
a shell command line would be relativley easy.

However, it's possible to optimize out the shell (and thus gain a tiny
performance increase) if there are no metacharacters in the current
command. This is what make does.

-- 
                            Greg A. Woods


+1 416 443-1734            VE3TCP            robohack!woods
Planix, Inc. <woods@???>; Secrets of the Weird <woods@???>