Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zargs doesn't work reliably



On 8/18/06, Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
On 2006-08-18 05:16:50 +0200, Mikael Magnusson wrote:
[...]
> 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?

I don't quite understand the question... zargs '' 'touch file\ with\
spaces' /tmp/*
or zargs '' 'touch "file with spaces"' /tmp/*

--
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author