On Monday 23 February 2009 22:12:48 Sven Joachim wrote:
> I just upgraded coreutils from 6.12 to 7.1, and the new sorting behavior
> of `ls -v' really irritates me.  Backup files are listed before the real
> files, parent directory (..) at the very end...  At first I thought that
ls -v means "sort by version". In ascending order you have older versions 
before the newer. And the backed up version is the older version of the file, 
isn't it?

> I had sorted by time and not by name in Emacs' dired:
>
> ,----
>
> | dired-listing-switches is a variable defined in `dired.el'.
> | Its value is "-alv"
>
> `----
>
> Is there a way to get the old behavior back?
> By the way, this change is briefly mentioned in the NEWS file
>
> ,----
>
> | * Noteworthy changes in release 7.0 (2008-10-05) [beta]
> | [...]
> |   ls -v now uses filevercmp function as sort predicate (instead of
> | strverscmp)
>
> `----
>
> but it is not reflected in the manual node
> (Info "(coreutils) More details about version sort").
Indeed. I'll write a patch to update Texinfo documentation.


Kamil


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to