>> Or use 'ls -v'. (I said it's "off topic" on the subject, sorry!
>> It
>> might escaped you, but 'ls' _does_ have a proper sort by version.)
>>
>
> Which OS?
Most of them, its the GNU version of ls...
works on cygwin, linux, bsd, solaris
Alan G
On Sat, 2006-07-08 at 14:39 +0200, Norbert Kaufmann wrote:
<زياد بن عبدالعزيز الباتلي wrote:
> [...]
> > Or use ‘ls -v’. (I said it's “off topic” on the subject, sorry! It
> > might escaped you, but ‘ls’ _does_ have a proper sort by version.)
> >
>
> Which OS?
>
> ~$ uname -mrs
> FreeBSD 6.1-
Norbert Kaufmann schreef:
> زياد بن عبدالعزيز الباتلي wrote:
> [...]
>> Or use ‘ls -v’. (I said it's “off topic” on the subject, sorry! It
>> might escaped you, but ‘ls’ _does_ have a proper sort by version.)
>>
>
> Which OS?
The one from GNU. It's commonly in GNU/Linux distributions, but it's
Ubuntu Linux does:
[EMAIL PROTECTED]:~$ ls -v
Desktop GDM-DarkGno.tar.gz foktopicstart test.py~
Examples Muziek foktopicstart~
[EMAIL PROTECTED]:~$Here's a copy of a complete ls http://www.mediacollege.com/cgi-bin/man/page.cgi?topic=lsOn my system it's also included in both the
زياد بن عبدالعزيز الباتلي wrote:
[...]
> Or use ‘ls -v’. (I said it's “off topic” on the subject, sorry! It
> might escaped you, but ‘ls’ _does_ have a proper sort by version.)
>
Which OS?
~$ uname -mrs
FreeBSD 6.1-STABLE i386
~$ ls -v
ls: illegal option -- v
usage: ls [-ABCFGHILPRSTUWZabcdfgh
> Or use ‘ls -v’. (I said it's “off topic” on the subject, sorry! It
> might escaped you, but ‘ls’ _does_ have a proper sort by version.)
But very interesting, I'd never seen that feature of 'ls' before
and the man pages don't say much about it, you need to
go to the info pages. But it does inde
On Fri, 2006-07-07 at 10:09 -0700, Evan Klitzke wrote:
> Hi,
>
> I am trying to sort a list of directories that correspond to kernel
> sources under /usr/src/linux. I wrote some code that gets a list like
> this:
> ['linux-2.6.9-gentoo-r4', 'linux-2.6.16-gentoo-r11/',
> 'linux-2.6.16-gentoo-r7/'