nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Redoing argument processing


From: Ken Hornstein
Subject: Re: [Nmh-workers] Redoing argument processing
Date: Thu, 17 Jan 2013 19:56:54 -0500

>i'm not clear on what's so wrong with the above.  i assume proc would
>be expanded, so you'd end up with
>    /bin/sh -c 'less -aics arg1 arg2 arg3'
>or
>    /bin/sh -c '~pgf/foo arg1 arg2 arg3'
>
>i'm missing the "extra level of interpretation" you're thinking of.

Let's say "arg2" contains a space.  ~pgf/foo would get four arguments
instead of three.  Also, if it contained double quotes they would be
eaten.

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]