[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with ls -a
From: |
Joe Halpin |
Subject: |
Re: problem with ls -a |
Date: |
Sat, 23 Jun 2001 09:13:16 -0500 |
Yep, setting LC_COLLATE=C gives the results I was expecting.
That might be a good thing to put in the man page. I didn't see this
explained in the info page either.
Thanks
Joe
Jim Meyering wrote:
>
> Thanks for the report.
> That's not a bug. Two others have recently raised the same point.
> Here's how I've replied:
>
> http://mail.gnu.org/pipermail/bug-fileutils/2001-June/001782.html
> http://mail.gnu.org/pipermail/bug-fileutils/2001-June/001781.html
>
> Joe Halpin <address@hidden> 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.
> |
> | What people have come to expect from -a is that the dot files will all
> | appear before other files. In the ls that comes with fileutils 4.0.36,
> | they are intermixed. For example:
> |
> | $ unalias ls
> | $ ls -a
> | . News
> | .. .newsrc
> | .acrorc .newsrc~
> | .bash_history .newsrc.eld
> | .bash_logout .newsrc.eld~
> | .bash_profile .newsrc-news
> | .bashrc nsmail
> | bin office52
> | .cddbslave personal
> | core pictures
> ...