bug-coreutils
[Top][All Lists]
Advanced

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

Re: ls -v is still inconsistent


From: Kamil Dudka
Subject: Re: ls -v is still inconsistent
Date: Fri, 20 Mar 2009 13:24:14 +0100
User-agent: KMail/1.9.7

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.

Definitely. The main difference is that '_' and (especially) '-' are version 
number's separators, we can't easy cut them off. AFAIK '~' is never used as
a version separator.

But it's sort of optimization problem. If anybody has a better idea about
the regular expression, send it to me. I'll compare it with the current 
implementation and other known implementations and send you the result.


Kamil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]