From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20809 invoked from network); 8 May 2008 09:35:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 8 May 2008 09:35:14 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 65478 invoked from network); 8 May 2008 09:35:08 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 8 May 2008 09:35:08 -0000 Received: (qmail 21760 invoked by alias); 8 May 2008 09:35:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24978 Received: (qmail 21721 invoked from network); 8 May 2008 09:35:02 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 8 May 2008 09:35:02 -0000 Received: from mail.o2.co.uk (vader.london.02.net [82.132.130.150]) by bifrost.dotsrc.org (Postfix) with ESMTP id 6068680ED172 for ; Thu, 8 May 2008 11:34:59 +0200 (CEST) Received: from sc.homeunix.net (78.105.216.138) by mail.o2.co.uk (8.0.013.3) (authenticated as stephane.chazelas) id 480CEB8203A486A4 for zsh-workers@sunsite.dk; Thu, 8 May 2008 10:34:58 +0100 Received: from chazelas by sc.homeunix.net with local (Exim 4.69) (envelope-from ) id 1Ju2Wg-00028R-7u for zsh-workers@sunsite.dk; Thu, 08 May 2008 10:34:58 +0100 Date: Thu, 8 May 2008 10:34:58 +0100 From: Stephane Chazelas To: zsh-workers@sunsite.dk Subject: Re: Bug#479764: shell builtin mv fails to move files across devices Message-ID: <20080508093458.GA8133@sc.homeunix.net> Mail-Followup-To: zsh-workers@sunsite.dk References: <20080506144208.GA15225@lapse.madduck.net> <20080506150303.GB31177@scru.org> <080506084541.ZM1350@torch.brasslantern.com> <20080506165555.GB17377@lapse.madduck.net> <20080506205523.GA4237@redoubt.spodhuis.org> <20080507213034.GL13554@prunille.vinc17.org> <20080507214745.GA65676@redoubt.spodhuis.org> <20080507225005.GM13554@prunille.vinc17.org> <20080507230336.GA11172@lapse.madduck.net> <20080508032334.GE10378@prunille.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080508032334.GE10378@prunille.vinc17.org> User-Agent: Mutt/1.5.16 (2007-09-19) X-Virus-Scanned: ClamAV 0.91.2/7060/Thu May 8 08:07:49 2008 on bifrost X-Virus-Status: Clean 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 [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