Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#479764: shell builtin mv fails to move files across devices
- X-seq: zsh-workers 24978
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#479764: shell builtin mv fails to move files across devices
- Date: Thu, 8 May 2008 10:34:58 +0100
- In-reply-to: <20080508032334.GE10378@xxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080506144208.GA15225@xxxxxxxxxxxxxxxxx> <20080506150303.GB31177@xxxxxxxx> <080506084541.ZM1350@xxxxxxxxxxxxxxxxxxxxxx> <20080506165555.GB17377@xxxxxxxxxxxxxxxxx> <20080506205523.GA4237@xxxxxxxxxxxxxxxxxxxx> <20080507213034.GL13554@xxxxxxxxxxxxxxxxxxx> <20080507214745.GA65676@xxxxxxxxxxxxxxxxxxxx> <20080507225005.GM13554@xxxxxxxxxxxxxxxxxxx> <20080507230336.GA11172@xxxxxxxxxxxxxxxxx> <20080508032334.GE10378@xxxxxxxxxxxxxxxxxxx>
On Thu, May 08, 2008 at 05:23:34AM +0200, Vincent Lefevre wrote:
> On 2008-05-08 00:03:36 +0100, martin f krafft wrote:
> > also sprach Vincent Lefevre <vincent@xxxxxxxxxx> [2008.05.07.2350 +0100]:
> > > rm() { command rm $@ }
> >
> > "$@" :_)
>
> I have SH_WORD_SPLIT unset, but that's true it's better not to depend
> on this...
[...]
SH_WORD_SPLIT... and GLOB_SUBST.
But even without those, $@ and "$@" are different as $@ removes
the empty elements (which shouldn't be a problem with rm
though).
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author