This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: strange behaviour of 'ls'
- From: Thomas Wolff <towo at towo dot net>
- To: cygwin at cygwin dot com
- Date: Fri, 8 Apr 2016 11:49:42 +0200
- Subject: Re: strange behaviour of 'ls'
- Authentication-results: sourceware.org; auth=none
- References: <000001d1909e$da5b8b00$8f12a100$ at talktalk dot net> <72gcgbtd8mfco3n6neb2srnl9fv43s5et4 at 4ax dot com>
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