This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strange behaviour of 'ls'


On 07.04.2016 13:11, Andrew Schulman wrote:
I have just noticed that the program 'ls' has started to put quotes around some entries in the listing when I use it
That are not really present around the actual files / directories.
The default quoting style in ls recently changed upstream, and then made its way
into Cygwin.  See https://cygwin.com/ml/cygwin/2016-03/msg00082.html.
Like for grep which now barfs out when a character isnât recognized in the current encoding (and grep doesnât even provide an environment variable to override this mis-feature), these assumedly-modern upstream changes are a nuisance.

For ls at least, it can be fixed with the environment variable QUOTING_STYLE but that isnât even mentioned in the manual page!%Ââ
â Poor old Unix tradition fades away.

What about adding
export QUOTING_STYLE=literal
to /etc/profile as a fix?

Thomas


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]