bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with ls -a


From: Matt Schalit
Subject: Re: problem with ls -a
Date: Sat, 23 Jun 2001 06:18:04 -0700

Joe Halpin wrote:
> 
> I hadn't noticed this personally because I don't use the -a option that
> much. But I saw a discussion about it on comp.unix.shell, and thought
> I'd mention it in case nobody else did.


Hi Joe.

This question is now offically frequently asked on this list.
It's the biggest gripe with RedHat 7.1 and/or fileutils 4.1.
Apparently the change was made in the ls.c source code to
bring it into POSIX compliance, which sorts the output using
the LC_COLLATE feature of you locale settings.

Workaround is to set LC_COLLATE to POSIX or C.

It's a difficult debate.  20 years of historical
ls behavior vs POSIX standards.  

Best,
Matthew



reply via email to

[Prev in Thread] Current Thread [Next in Thread]