Subject: Re: a proposal for two new libc functions: shquote() and shquotev()
To: None <>
From: Christos Zoulas <>
List: tech-userlevel
Date: 03/03/2001 17:15:17
In article <>,
Charles M. Hannum <> wrote:
>On Fri, Mar 02, 2001 at 10:58:48PM -0800, Chris G. Demetriou wrote:
>> (Christos Zoulas) writes:
>> > How about an allocating version like asprintf()? That would cut down your
>> > example significantly.
>> I can imagine some trivial cases where that'd help, when _all_ of your
>> arguments are coming from the argc/argv given to shquotev().

Yes, so? I would give all my arguments to shquotev... Remember 'command' gets
eval'ed too. I would think that most of the time would I want to quote all the