Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zargs doesn't work reliably
- X-seq: zsh-workers 22614
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: zargs doesn't work reliably
- Date: Fri, 18 Aug 2006 00:59:35 +0200
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bG6Nbxc6Ziiz3+I/YD3SZOOONmgKyLJIHzUDgdmuDR/PstQHnQvYEVUxC/6AmbEjvG60jZIIMn8bnZb7Ttbo18pqizLi400oM1MkNwYP7j2gD4zEMbY16oQO92Ljm6ZJpRyVA/mT2w1EANVKrtRyYSFYmxg+DERW6+y24oDWfeA=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Usage: zargs [options --] [input-args] [-- command [initial-args]]
% touch -- -- -+
% zargs -- * -- ls -d
(eval):2: command not found: -+
% zargs * -- ls -d
ls: invalid option -- +
Try `ls --help' for more information.
% zargs * ls -d
-+ ls -d
since input-args is the only part you do not control, it should come
last, like so
Usage: zargs [options --] [command [initial-args]] -- [input-args]
A problem is how to give -- as initial-args then, maybe someone less
tired can come up with something?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author