View previous topic :: View next topic |
Author |
Message |
manywele l33t


Joined: 12 Jul 2003 Posts: 728 Location: Inside
|
Posted: Thu Feb 18, 2016 2:58 am Post subject: Updated bash(?) now files have ' ' around them in terms. |
|
|
Something I updated (probably bash-4.3_p42-r2) within the last couple of days changed my terminal output (aterm, xterm, vt - all the same) so that directory and file names are surrounded with single quote marks. It's kind of annoying. How do I get rid of it?
A directory named My Documents turns into 'My Documents'.
I tried and the output in the term shows .
Someone please, tell me how to make it stop. It's so ugly.
Code: | 'A Druids Duel' Gish 'Shadowrun Returns'
Amnesia GorogoaDemo Shank
'And Yet It Moves' 'Gratuitous Space Battles' Shank2
Anodyne Greedcorp Shatter
Anomaly Grimrock 'Skulls of the Shogun'
Aquaria Hammerfight Snapshot
'Atom Zombie Smasher' Incredipede Soma
'A Virus Named Tom' 'Insanely Twisted Shadow Planet' 'Space Chem'
|
|
|
Back to top |
|
 |
Chiitoo Administrator


Joined: 28 Feb 2010 Posts: 2198 Location: Here and Away Again
|
Posted: Thu Feb 18, 2016 3:53 am Post subject: ><)))°€ |
|
|
Seems like this here change in the program ls from sys-apps/coreutils: ls: default to --quoting=shell-escape for output to terminal
It is quite the change, and Debian for example seems to have went with reverting it pretty quickly, if I'm reading the resolution here correct-like at all.
There is the -N (--literal) option, but I'm not sure how it differs from the old default... _________________ Kind regards,
Chiitoo.
You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine. |
|
Back to top |
|
 |
manywele l33t


Joined: 12 Jul 2003 Posts: 728 Location: Inside
|
Posted: Thu Feb 18, 2016 4:53 am Post subject: |
|
|
Thank you for pinpointing the problem. The -N option works well enough for me for now. |
|
Back to top |
|
 |
khayyam Watchman


Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Thu Feb 18, 2016 11:06 am Post subject: Re: ><)))°€ |
|
|
Chiitoo wrote: | It is quite the change, and Debian for example seems to have went with reverting it pretty quickly, if I'm reading the resolution here correct-like at all. |
Chiitoo ... hehe, and the "reasons" provided:
Quote: | - It only happens when outputting to terminals |
... because consistancy in output is bad?
Quote: | - It disambiguates the output for users |
... only if ones idea of "ambiguity" is predicated on a such a "user", and that terminal output should conform to this users idea of what a file name is ... no metacharaters please. So, "unambiguious" here means conform to the predicates of the user interface, specifically the naming converntions developed under the GUI ... and which the "user" is conditioned to expect (having been schooled in that particular mode of thinking re "interface").
Quote: | - Output can be pasted back in the shell for further processing |
... yay! TTY has joined the ranks of its big brother, the GUI.
Quote: | - Users can get back to the old format by adding -N to their ls alias |
... and the "old format" of discouraging the use of metacharacters in filenames is placed in its proper context ... the predicates of the GUI and its use.
best ... khay |
|
Back to top |
|
 |
|