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

Re: rm -r



Alexandre Duret-Lutz <alexandre.duret@xxxxxxxxxxxxxx> typed:
:Since `echo' is builtin (therefore not exec'ed), you may want to do
:echo PATTERN | xargs COMMAND

I hope everyone is aware of the whitespace in name problem with above.
Note also that ``print'' is also a builtin, and if your ``xargs'' has a
``-0'' flag or similar (separate on NUL '\0' instead of whitespace)
then you should be using

% print -N PATTERN | xargs -0 COMMAND

:when `COMMAND PATTERN' don't work.
:[...]

Regards,
-- 
Geoff Wing : <gcw@xxxxxxxxx>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@xxxxxxxx>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@xxxxxxx>       Phone   : (Australia) 0413 431 874



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