Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
question about zargs
- X-seq: zsh-users 17364
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-user <zsh-users@xxxxxxx>
- Subject: question about zargs
- Date: Wed, 31 Oct 2012 21:40:07 +0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
I just learnt that there is a function 'zargs' which just like 'xargs'.
So why we need the 'zargs' as we have 'xargs' already?
As a example, this works just fine with 'xargs':
% print -N **/* | xargs -n1 -0 ls
But this one will cause "(eval):2: fork failed: cannot allocate memory"
error on my laptop:
% zargs **/* -- ls
Thanks in advance.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author