Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

question about zargs



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