[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature Request: List files/directories lexicographically
From: |
Pádraig Brady |
Subject: |
Re: Feature Request: List files/directories lexicographically |
Date: |
Tue, 31 Mar 2009 15:58:19 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
Pádraig Brady wrote:
> Adam Gordon wrote:
>> This seems like it would be a simple feature and while it may overlap
>> with (or be slightly redundant to) the sort command, sorting
>> lexicographically, i.e., foo1, foo2, foo10, foo20 instead of foo1,
>> foo10, foo2, foo20, would be a nice feature to have.
>
> Does `ls -v` do what you want?
Adam confirmed privately that `ls -v` does as he wants.
However he said the man page was very terse and he missed it.
How about changing:
-v sort by version
to one of these?
-v natural sort of (version) numbers within text
If so I'll change sort --help similarly.
cheers,
Pádraig.