public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Thomas Wolff <towo@towo.net>
To: cygwin@cygwin.com
Subject: Re: strange behaviour of 'ls'
Date: Fri, 08 Apr 2016 09:50:00 -0000	[thread overview]
Message-ID: <57077EB6.1090306@towo.net> (raw)
In-Reply-To: <72gcgbtd8mfco3n6neb2srnl9fv43s5et4@4ax.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

  reply	other threads:[~2016-04-08  9:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07  7:27 Simon Bradley
2016-04-07  8:46 ` Achim Gratz
2016-04-07 11:12 ` Andrew Schulman
2016-04-08  9:50   ` Thomas Wolff [this message]
2016-04-08 18:52     ` Achim Gratz
2016-04-08 20:36       ` Eric Blake
2016-04-08 21:22       ` Thomas Wolff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57077EB6.1090306@towo.net \
    --to=towo@towo.net \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).