Re: ls -v is still inconsistent

2009-03-25 Thread Ondřej Vašík
Jim Meyering wrote: Pushed. http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=1721cf06d9 I guess info doc about suffix regex should be updated too... Greetings, Ondrej From 88ebd00c46668f2b677c8da9a7e40584d5b97d9b Mon Sep 17 00:00:00 2001 From:

Re: ls -v is still inconsistent

2009-03-25 Thread Jim Meyering
Ondřej Vašík wrote: Subject: [PATCH] doc: Update suffix regex in version sort * doc/coreutils.texi: Reflect current filevercmp regex Thanks! Pushed.

Re: ls -v is still inconsistent

2009-03-24 Thread Jim Meyering
Jim Meyering wrote: Kamil Dudka wrote: From d889021cebb7bf798d1b7bf24149c354627e9553 Mon Sep 17 00:00:00 2001 From: Kamil Dudka kdu...@redhat.com Date: Fri, 20 Mar 2009 11:20:12 +0100 Subject: [PATCH] filevercmp: extension for simple and numbered backups Hi Kamil, Thanks again. Complete

Re: ls -v is still inconsistent

2009-03-24 Thread Kamil Dudka
On Tuesday 24 of March 2009 22:15:59 Jim Meyering wrote: Jim Meyering wrote: Kamil Dudka wrote: From d889021cebb7bf798d1b7bf24149c354627e9553 Mon Sep 17 00:00:00 2001 From: Kamil Dudka kdu...@redhat.com Date: Fri, 20 Mar 2009 11:20:12 +0100 Subject: [PATCH] filevercmp: extension for

Re: ls -v is still inconsistent

2009-03-23 Thread Kamil Dudka
On Saturday 21 March 2009 00:03:30 Kamil Dudka wrote: On Friday 20 of March 2009 22:25:30 Bob Proulx wrote: The '~' is often used in package version numbers. It sorts before the version without it. For example the rule[1] for generating a stable backport from the latest unstable version

Re: ls -v is still inconsistent

2009-03-23 Thread Bob Proulx
Kamil Dudka wrote: Kamil Dudka wrote: I'll look at it deeper next week and check if the new regex works in all cases. The Debian's backport suffix ~bpo${debian_release}+${build_int} seems to be safe in the context of this patch. Thanks to the '+' it can be never matched as a file

Re: ls -v is still inconsistent

2009-03-20 Thread Kamil Dudka
On Thursday 19 March 2009 11:27:11 Sven Joachim wrote: While the ordering of hidden files in ls -v seems to be fixed now, there are still inconsistencies. Here's what I get in the latest snapshot: , | LANG=C /usr/local/src/coreutils-7.1.63-8e6a6/src/ls -alv | total 0 | drwxr-xr-x 2

Re: ls -v is still inconsistent

2009-03-20 Thread Jim Meyering
Kamil Dudka wrote: On Thursday 19 March 2009 11:27:11 Sven Joachim wrote: While the ordering of hidden files in ls -v seems to be fixed now, there are still inconsistencies. Here's what I get in the latest snapshot: , | LANG=C /usr/local/src/coreutils-7.1.63-8e6a6/src/ls -alv |

Re: ls -v is still inconsistent

2009-03-20 Thread Bruno Haible
Kamil Dudka wrote: Simple patch including clarifying test cases is attached. The patch removes two test cases from tests/test-filevercmp.c. I would prefer a patch that only adds test cases, never removes test cases (unless they were really bogus). Bruno

Re: ls -v is still inconsistent

2009-03-20 Thread Bruno Haible
Jim Meyering wrote: Perhaps ~ isn't the only character we should treat that way. I'd say that '~' is pretty special here because it's used as backup file suffix by many text editors. Which is not the case for '_', '-', and others. Bruno

Re: ls -v is still inconsistent

2009-03-20 Thread Kamil Dudka
On Friday 20 of March 2009 12:36:38 Bruno Haible wrote: Jim Meyering wrote: Perhaps ~ isn't the only character we should treat that way. I'd say that '~' is pretty special here because it's used as backup file suffix by many text editors. Which is not the case for '_', '-', and others.

Re: ls -v is still inconsistent

2009-03-20 Thread Bob Proulx
Kamil Dudka wrote: On Friday 20 of March 2009 12:36:38 Bruno Haible wrote: Jim Meyering wrote: Perhaps ~ isn't the only character we should treat that way. I'd say that '~' is pretty special here because it's used as backup file suffix by many text editors. Which is not the case for

Re: ls -v is still inconsistent

2009-03-20 Thread Kamil Dudka
On Friday 20 of March 2009 22:25:30 Bob Proulx wrote: Kamil Dudka wrote: On Friday 20 of March 2009 12:36:38 Bruno Haible wrote: Jim Meyering wrote: Perhaps ~ isn't the only character we should treat that way. I'd say that '~' is pretty special here because it's used as backup