Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: rm -r
- X-seq: zsh-users 2801
- From: mason@xxxxxxxxxxxxxxx (Geoff Wing)
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: rm -r
- Date: 23 Dec 1999 00:15:58 GMT
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: PrimeNet Computer Consultants
- References: Thomas Köhler's message of "Wed, 22 Dec 1999 10:58:57 +0100" <7dhfhbt8zt.fsf@xxxxxxxxxxxxxx>
- Reply-to: mason@xxxxxxxxxxxxxxx
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