zsh-workers
 help / color / mirror / code / Atom feed
* Possible bug in zargs
@ 2012-10-27 22:34 Dima Kogan
  2012-10-30  7:05 ` Dima Kogan
  0 siblings, 1 reply; 4+ messages in thread
From: Dima Kogan @ 2012-10-27 22:34 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-10-30 18:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-27 22:34 Possible bug in zargs Dima Kogan
2012-10-30  7:05 ` Dima Kogan
2012-10-30 16:09   ` Bart Schaefer
2012-10-30 17:53     ` Dima Kogan

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).