On 02/13/2018 08:35 AM, Harald Dunkel wrote:
If I got this correctly, then the folks to benefit from this change
are GUI users, using copy-and-paste. Is this an argument to affect
the command line users?

Well, unless one is working on a bare tty without X or via network,
I would guess that there is a terminal application like xterm,
gnome-terminal, a kde terminal, etc., involved in 99% of the cases.
Thus, there /is/ the possibility to use for copy/paste.

Furthermore, the quoting gives you immediate visual feedback that
there's something unusual in the corresponding file name.

BTW, apparently the shell quoting-style in coreutils 8.26 (Stretch)

8.26 is quite old, and there have been further tweaks to the quoting
feature meanwhile (we're at 8.29).

misses to properly quote iso8859 chars, e.g. German Umlaute. Sample:

% ls --quoting-style=shell -al /tmp/Qual*
-rw-r--r-- 1 root root 0 Feb 13 08:27 '/tmp/Qualit?tssicherung final'

I'm not sure what's happening there, but it seems that your terminal
doesn't know how to display the 2-byte representation "c3 a4"; neither
gnome-terminal nor xterm have problems to display it here:

  $ /bin/ls -log /tmp/Q*
  -rw-r--r-- 1 0 Feb 15 07:59 '/tmp/Qualitätssicherung final'

  $ /bin/ls /tmp/Q* | od -tx1z
  0000000 2f 74 6d 70 2f 51 75 61 6c 69 74 c3 a4 74 73 73  >/tmp/Qualit..tss<
  0000020 69 63 68 65 72 75 6e 67 20 66 69 6e 61 6c 0a     >icherung final.<

Have a nice day,

Reply via email to