GNU bug report logs - #19605
quotes: cp: use ASCII single-quotes in "cp -v"

Previous Next

Package: coreutils;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 15 Jan 2015 11:51:01 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 19605 <at> debbugs.gnu.org
Subject: bug#19605: cp -v vs LC_ALL vs. quote marks
Date: Thu, 15 Jan 2015 19:38:23 +0800
I am glad that these days plain "'" is being used instead of goofy "`'"
$ LC_ALL=C cp -v /dev/null /tmp/$RANDOM 2>&1
'/dev/null' -> '/tmp/29920'

That way one can not worry about copy and pasting them with the mouse.

The problem is, if I don't use LC_ALL=C then I get the goofy ones, even
high bit too. Please just use ASCII "'", thanks.

# find /mnt/usb/thumb/backups/ -mtime -2 -type f -exec cp -av {} /jidanni_backups/ \;
‘/mnt/usb/thumb/backups/root_bkp2015-01-14-10-11-29.bz2’ -> ‘/jidanni_backups/root_bkp2015-01-14-10-11-29.bz2’

cp (GNU coreutils) 8.23
P.S., I bet other coreutils programs do this too.




This bug report was last modified 6 years and 243 days ago.

Previous Next


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