zsh-workers
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <Stephane_Chazelas@yahoo.fr>
To: zsh-workers@sunsite.dk
Subject: Re: Bug#479764: shell builtin mv fails to move files across devices
Date: Thu, 8 May 2008 10:34:58 +0100	[thread overview]
Message-ID: <20080508093458.GA8133@sc.homeunix.net> (raw)
In-Reply-To: <20080508032334.GE10378@prunille.vinc17.org>

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@vinc17.org> [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


  reply	other threads:[~2008-05-08  9:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080506144208.GA15225@lapse.madduck.net>
2008-05-06 15:03 ` Clint Adams
2008-05-06 15:45   ` Bart Schaefer
2008-05-06 16:55     ` martin f krafft
2008-05-06 20:52       ` Peter Stephenson
2008-05-06 20:55       ` Phil Pennock
2008-05-07 21:30         ` Vincent Lefevre
2008-05-07 21:47           ` Phil Pennock
2008-05-07 22:50             ` Vincent Lefevre
2008-05-07 23:03               ` martin f krafft
2008-05-08  3:23                 ` Vincent Lefevre
2008-05-08  9:34                   ` Stephane Chazelas [this message]
2008-05-07 22:06           ` Mikael Magnusson
2008-05-07 22:57             ` Vincent Lefevre
2008-05-06 18:52   ` Stephane Chazelas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080508093458.GA8133@sc.homeunix.net \
    --to=stephane_chazelas@yahoo.fr \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).