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 04/08/2016 12:52 PM, Achim Gratz wrote:
> Thomas Wolff writes:
>> 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.
> 
> You are barking up the wrng tree, please take that upstream.
> 
>> 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?
> 
> No, but you're free to do whatever you wish in /etc/profile.d (or lobby
> the coreutils maintiner to provide it with the package, although I'd
> suggest that it shouldn't get installed by default).

If upstream makes it easy to install such an example profile, I'll
likewise make it easy to install in cygwin. Otherwise, I don't see any
reason to go out of my way to make cygwin diverge from upstream.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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