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

Re: xargs with functions



2014-11-17 19:40:04 +0100, Axel Beckert:
[...]
> But zsh's zargs seems to support functions (but not aliases). Try this:
> 
> % autoload -U zargs
> % zargs -- * -- l ,s
[...]

Strictly speaking, to avoid issues with files called "--", you
should use:

zargs --eof= -- * '' my-function

Or as suggested by the manual:

zargs -e.. -- * .. my-function

-- 
Stephane



Messages sorted by: Reverse Date, Date, Thread, Author