Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Possible bug in zargs
- X-seq: zsh-workers 30763
- From: Dima Kogan <zsh@xxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Possible bug in zargs
- Date: Sat, 27 Oct 2012 15:34:00 -0700
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :mime-version:content-type:content-transfer-encoding; s=smtpout; bh=sUXw2EsW1PMaT/Jp0NPRuByB1lI=; b=Xv3s+U5UvJsDzwzHMEtW+5eMOmfz 3r4+04OR+2fL+FY1pJ4bnIjhEXf3u/XuxHBMjU2Xy8bCnUeHOFT5w+J8aNy0vTtA JLLZ5UyooSsWxDIUxV/om3FOBlmF1nVScenqfr3ASSfrkqigqj5kEWLEuApUiJDV rFkK8bFPL0B6bJM=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
I can't seem to get the -n option in zargs to work right. This looks like a bug
to me, but maybe I'm not using it correctly:
dima@shorty:/tmp$ ls -l
total 12
-rw-r--r-- 1 dima dima 1 Oct 27 15:29 1
-rw-r--r-- 1 dima dima 5 Oct 27 15:29 2
-rw-r--r-- 1 dima dima 5 Oct 27 15:29 3
dima@shorty:/tmp$ zargs -- * -- ls -l
-rw-r--r-- 1 dima dima 1 Oct 27 15:29 1
-rw-r--r-- 1 dima dima 5 Oct 27 15:29 2
-rw-r--r-- 1 dima dima 5 Oct 27 15:29 3
dima@shorty:/tmp$ zargs -- * -- ls
1 2 3
dima@shorty:/tmp$ zargs -n1 -- * -- ls
1
2
3
dima@shorty:/tmp$ zargs -n1 -- * -- ls -l
zargs: argument list too long
The "argument list too long" doesn't make sense here.
Thanks
Messages sorted by:
Reverse Date,
Date,
Thread,
Author