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

