GNU bug report logs - #8636
cp -x flag does not work

Previous Next

Package: coreutils;

Reported by: obb33 <at> verizon.net

Date: Sat, 7 May 2011 20:16:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: peek <at> kutek.info
Cc: 8636 <at> debbugs.gnu.org, Jim Meyering <jim <at> meyering.net>
Subject: bug#8636: closed (Re: bug#8636: cp -x flag does not work)
Date: Thu, 15 Sep 2011 17:14:42 +0100
On 09/15/2011 01:32 PM, peek <at> kutek.info wrote:
> Hi Jim,
> 
> I would ask you again to reconsider your view on this issue  because it is
> irrational.

Reading back over the thread, I think it's a usage error.
Note that cp does not process the wildcard, so that when you do:

  cp -x /*

what cp is really getting from the shell is:

  cp -x /dir1 /dir2 ...

cp is right to treat each of those independently.

cheers,
Pádraig.




This bug report was last modified 13 years and 248 days ago.

Previous Next


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