Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zargs doesn't work reliably
- X-seq: zsh-workers 22621
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: zargs doesn't work reliably
- Date: Fri, 18 Aug 2006 15:12:42 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Hwyaxkh/VbqOyVLvqV0a8FzomgDsl8TyAZX/rdaontCOF5EMgshCSzmOrooJSk5N/QkSGGcVPQtexLPIB1AcL+vrtPHOPOUc+6njDzoRNa//6NZJ/TL8FN7Eucrq7RfWB/QA+sWt8Ay7IcijYOj14rFHxK3vVwyDMN4tMP7ahRg=
- In-reply-to: <20060818112439.GC27421@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0608171559k1bd8053bxf7a3d1cb53ef33e7@xxxxxxxxxxxxxx> <060817194225.ZM23196@xxxxxxxxxxxxxxxxxxxxxx> <237967ef0608172016s4a47b309sd4a78f5889cfe2c7@xxxxxxxxxxxxxx> <20060818112439.GC27421@xxxxxxxxxxxxx>
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