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

Re: ls sort order: new, bad, behaviour



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/23/07 16:11, s. keeling wrote:
> Eric d'Alibut <eric.halibut@gmail.com>:
>>  On 9/23/07, Ron Johnson <ron.l.johnson@cox.net> wrote:
>>
>>>> namely, an 'ls' that sorts directories first, and
>>>> ordinary files afterwards? Do others actually see that behaviour in
>>>> terminals?
>>> Sure.  That's how it works for me.
> 
> Not for me.  I get all dotfiles and dotdirs alphabetically, followed
> by non-dotdirs.  It's .(A-Z then a-z):
> 
> -rw-------  1 keeling keeling   199 2007-07-12 14:30 .Xauthority
> -rwxr-xr-x  1 keeling keeling   643 2007-09-05 20:36 .Xclients*
> -rw-r--r--  1 keeling keeling    28 2007-06-10 06:53 .Xmodmap
> -rw-r--r--  1 keeling keeling 11475 2007-09-15 12:59 .Xresources
> -rw-r--r--  1 keeling keeling  1045 2007-09-23 10:54 .abcde.conf
> -rw-r--r--  1 keeling keeling  3943 2007-09-10 20:16 .alias
> drwx------  2 keeling keeling  4096 2007-09-23 10:54 .aptitude/
> -rw-------  1 keeling keeling 10032 2007-09-23 14:34 .bash_history
> -rw-r--r--  1 keeling keeling   158 2007-06-10 11:01 .bash_logout
> -rw-r--r--  1 keeling keeling  1158 2007-06-14 12:44 .bashrc
> drwx------  2 keeling keeling  4096 2007-09-01 00:15 .bogofilter/
> -rw-------  1 keeling keeling   210 2007-06-23 08:36 .cvspass
> drwx------  3 keeling keeling  4096 2007-08-05 16:14 .dbus/
> -rw-r--r--  1 keeling keeling  9919 2007-07-10 16:47 .emacs
> ...
> -rw-r--r--  1 keeling keeling 11624 2007-06-23 15:00 .xscreensaver
> -rw-------  1 keeling keeling     0 2007-06-23 18:37 .xsession-errors
> drwxr-x---  3 keeling keeling  4096 2007-09-23 14:54 Mail/
> drwxr-xr-x  5 keeling keeling  4096 2007-09-23 15:01 News/
> drwxr-xr-x  2 keeling keeling  4096 2007-08-07 09:30 Xprintjobs/
> ...
> drwxr-xr-x  2 keeling keeling  4096 2007-09-15 09:45 sh/
> drwxr-xr-x  2 keeling keeling  4096 2007-06-10 07:13 snd/
> drwxr-xr-x  4 keeling keeling  4096 2007-09-23 10:54 tmp/
> drwxr-xr-x  2 keeling keeling  4096 2007-09-02 07:55 winfonts/

Jeez, this has been a bad computer day for me.

ls listings are just like Steve's.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG9xP8S9HxQb37XmcRAihGAJ9w/3frP7HEzgJkam9YoKGfWDYKOgCgmbDF
NRW877wo2CCxmoZbCdwFXoY=
=0ORE
-----END PGP SIGNATURE-----



Reply to: