1 |
On Tue, 03 May 2016, Daniel Quinn wrote: |
2 |
|
3 |
> Some time ago after an update ls started returning output that looked like |
4 |
> this: |
5 |
> |
6 |
> 8hOk25T.jpg 'Janeway Wallpaper-iPhone.png' |
7 |
> 'Screenshot from 2016-04-06 16-15-15.png' microsoft.png |
8 |
> 'Away mission Wallpaper-iPhone.png' 'Screenshot from 2016-03-18 14-29-06.png' |
9 |
> 'Screenshot from 2016-04-07 11-29-02.png' gcal.png |
10 |
> |
11 |
> Note that some of the files have a single quote (‘) surrounding them, and |
12 |
> others don’t. I understand that this makes things easier to do stuff like |
13 |
> |
14 |
> for f in $(ls /path/to/whatever); do something; fi |
15 |
> |
16 |
> But since I do that a lot less than I just do this: |
17 |
> |
18 |
> ls -l |
19 |
> |
20 |
> I’d like to revert to the old way so my eye isn’t jumping left & right all |
21 |
> the time. |
22 |
> |
23 |
> I see that I can just write an alias: |
24 |
> |
25 |
> alias ls="ls --quoting-style=literal" |
26 |
> |
27 |
> But I’d hate to do that if the default is “literal” and there’s some |
28 |
> config installed somewhere that’s changing this. Does anyone have some |
29 |
> information regarding whether this is a new default upstream or if a |
30 |
> Gentoo package was somehow modified to do this? |
31 |
> |
32 |
> |
33 |
|
34 |
Yes, the quoting is upstream behavior since the last few versions of |
35 |
coreutils. Anyway, if you mind it, keep it as an alias, it doesn't get |
36 |
in the way :) |
37 |
|
38 |
-- |
39 |
~ parazyd |
40 |
0333 7671 FDE7 5BB6 A85E C91F B876 CB44 FA1B 0274 |