[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature request: add option to show directories first
From: |
Eric Blake |
Subject: |
Re: Feature request: add option to show directories first |
Date: |
Sat, 03 Dec 2005 18:16:16 +0000 |
[The fact that you sent this request to the old bug-fileutils list instead
of bug-coreutils makes me wonder if you have the latest version of
coreutils. However, your request is still not present in CVS coreutils.]
> Hi,
> I think that an option which lets the user to see the usual file listing
> sorted
> alphabetically, but with directory entries grouped before the files, would be
> very useful.
You are not the first to request this feature. The problem is that no
one has been bothered enough by the lack of this feature to actually
contribute a patch.
Things to think about - how would this option interact with other
sort options? For example, I think that the combination of
the proposed --directories-first (or whatever it gets spelled as)
alongside --sort=size would treat directories as a primary
sort key and size as a secondary sort key. Is there ever any
use for having another sort be the primary key and directory
status being the second key?
--
Eric Blake