Leading spaces are common, actually
Leading spaces are common, actually
Posted Mar 28, 2009 20:36 UTC (Sat) by nix (subscriber, #2304)In reply to: Leading spaces are common, actually by foom
Parent article: Wheeler: Fixing Unix/Linux/POSIX Filenames
It's called 'sort by version' because the function it calls (strverscmp())
was designed to sort version numbers, and because the expected use of
ls -v was sorting a directory full of version-named directories in version
order.
was designed to sort version numbers, and because the expected use of
ls -v was sorting a directory full of version-named directories in version
order.
(And you're right on the collation sort thing: I spoke carelessly.)
