[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
- Re: [Nmh-workers] Redoing argument processing, (continued)
Re: [Nmh-workers] Redoing argument processing, Ralph Corderoy, 2013/01/17
Re: [Nmh-workers] Redoing argument processing, Paul Fox, 2013/01/17
Re: [Nmh-workers] Redoing argument processing, Oliver Kiddle, 2013/01/18
Re: [Nmh-workers] Redoing argument processing, Ken Hornstein, 2013/01/18