Sujet : Re: Baby X is bor nagain
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 20. Jun 2024, 21:44:27
Autres entêtes
Organisation : None to speak of
Message-ID : <87v823wdhw.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
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.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */