Liste des Groupes | Revenir à cl c |
Malcolm McLean <malcolm.arthur.mclean@gmail.com> writes:
[...]And I see that using Python's getkey() function to swap "_D" and "_H"
would be a way to solve this. But it's far from obvious how to set up a
custom sort.
And you still think comp.lang.c is the place to talk about it?
If the links I already posted aren't sufficiently helpful (I expected
they would be), comp.lang.python exists and is reasonably active.
Incidentally you might like the default sort in my ls command, now in
the Baby X FileSystem shell. There's also a separate programs that runs
under the native shell - of course I developed the command on native
host filesystems first. It uses a natural sort so that "Chapter 10"
sorts after and not before "Chapter 2".
GNU coreutils ls has a "-v" or "--sort=version" option that does this.
Les messages affichés proviennent d'usenet.