delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/08/05:50:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=YHvdRZLuMezCmTxu
fW1DKpKc8yH+3xPsqfnOinrX36qItnxUvqqZuLJk0HjVAT3xtJUacDAKIfD3pzUa
chHTzOs8TeE1Rvt8tUHaLrHMuAHxZyD2oZhtOCQ/bQI6KDtEAVq0vfss+aqvQxiD
ftOH8pdv2HS0DJz1azVrO/+R4Ig=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=sZhY+2ZP9DwQxa1wCIeCEd
A24jU=; b=EMPXRoVxZgKvyjL6sFSo4MYFkEWF1j88H+ClbX/Yr7rLJqbuE+Ucx0
v5EIoIaZFycfXP2j1dBMU6NHTLi3YsdNvqmg7T92/BTVTyP1AJTthxn0T14Z2t8G
+kqMkkESt542ZCSsg0u8H5UPhk3825aYSR2dU5BB8w6/zjdq+tXKM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=quoting_style, QUOTING_STYLE, schulman, H*r:8.12.11
X-HELO: demumfd001.nsn-inter.net
Subject: Re: strange behaviour of 'ls'
To: cygwin AT cygwin DOT com
References: <000001d1909e$da5b8b00$8f12a100$@talktalk.net> <72gcgbtd8mfco3n6neb2srnl9fv43s5et4 AT 4ax DOT com>
From: Thomas Wolff <towo AT towo DOT net>
Message-ID: <57077EB6.1090306@towo.net>
Date: Fri, 8 Apr 2016 11:49:42 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <72gcgbtd8mfco3n6neb2srnl9fv43s5et4@4ax.com>
X-purgate-type: clean
X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate: clean
X-purgate: This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-size: 909
X-purgate-ID: 151667::1460108985-00001B3D-1344CA89/0/0
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019