Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: how is strnatcmp aka "Interpret numbers while sorting" supposed to sort?

Re: how is strnatcmp aka "Interpret numbers while sorting" supposed to sort?

From: Thomas Martitz <thomas.martitz_at_fhtw-berlin.de>
Date: Thu, 19 Mar 2009 18:32:57 +0100

Thomas Martitz wrote:
>
> Ok, I've implemented ignoring very leading zeros now, and fixed
> FS#10031, in my local repo. It could be committed, I think. It seems
> the consensus is reached.
>
> Alternatively we can also think about ignoring chars like . and _ (and
> possibly more) in the beginning of a file name (e.g. .rockbox is
> sorted under r). Just an idea. It doesn't really add complexity, but
> would definitely do more than the setting advertises. But, this is
> also something windows/nautilus/more do.

I've uploaded the patch to FS#10030.
Received on 2009-03-19


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa