From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27246 invoked by alias); 8 Apr 2016 09:50:01 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27230 invoked by uid 89); 8 Apr 2016 09:50:00 -0000 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 Received: from demumfd001.nsn-inter.net (HELO demumfd001.nsn-inter.net) (93.183.12.32) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 08 Apr 2016 09:49:49 +0000 Received: from demuprx017.emea.nsn-intra.net ([10.150.129.56]) by demumfd001.nsn-inter.net (8.15.2/8.15.2) with ESMTPS id u389njw8025491 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 8 Apr 2016 09:49:45 GMT Received: from [127.0.0.1] ([10.149.133.212]) by demuprx017.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id u389ngIc025459 for ; Fri, 8 Apr 2016 11:49:44 +0200 Subject: Re: strange behaviour of 'ls' To: cygwin@cygwin.com References: <000001d1909e$da5b8b00$8f12a100$@talktalk.net> <72gcgbtd8mfco3n6neb2srnl9fv43s5et4@4ax.com> From: Thomas Wolff Message-ID: <57077EB6.1090306@towo.net> Date: Fri, 08 Apr 2016 09:50:00 -0000 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 X-SW-Source: 2016-04/txt/msg00163.txt.bz2 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