Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zargs doesn't work reliably
- X-seq: zsh-workers 22619
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: zargs doesn't work reliably
- Date: Fri, 18 Aug 2006 13:24:39 +0200
- In-reply-to: <237967ef0608172016s4a47b309sd4a78f5889cfe2c7@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0608171559k1bd8053bxf7a3d1cb53ef33e7@xxxxxxxxxxxxxx> <060817194225.ZM23196@xxxxxxxxxxxxxxxxxxxxxx> <237967ef0608172016s4a47b309sd4a78f5889cfe2c7@xxxxxxxxxxxxxx>
On 2006-08-18 05:16:50 +0200, Mikael Magnusson wrote:
> On 8/18/06, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >(End manual page example, begin new one.) You can even do:
> >
> > zargs -e$'\0' -- * $'\0' ls -d
> >
> >unless you somehow have a file named (the nul byte).
AFAIK, a file name can't contain a nul byte (anyway this would break
many things, as the nul byte is the string terminator in C).
[...]
> Would this be possible?
> zargs '[options]' 'command [initial-args]' [input-args]
> ie the ' are literal quotes in the command so zargs knows exactly what
> to do with the first two arguments (in which case you'd have to zargs
> '' '' * if you wanted to omit them so maybe not aesthetically pleasing
> in that regard).
What if you need an initial-arg that contains a space?
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author