GNU bug report logs - #6353
cp and mv with single wild card argument acts as if multiple arguments were entered.

Previous Next

Package: coreutils;

Reported by: Darwin Gregory <darwin.gregory <at> gmail.com>

Date: Fri, 4 Jun 2010 16:17:01 UTC

Severity: normal

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Alfred M. Szmidt" <ams <at> gnu.org>
To: Darwin Gregory <darwin.gregory <at> gmail.com>
Cc: 6353 <at> debbugs.gnu.org
Subject: bug#6353: cp and mv with single wild card argument acts as if multiple arguments were entered.
Date: Fri, 04 Jun 2010 16:44:55 -0400
   If you execute "cp /path/*" the command expands the wildcard, and
   treats the last file as the destination directory.

That is at it should be, * is expanded by the shell, not by the command.




This bug report was last modified 14 years and 356 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.