In message <[email protected]> on Mon, 20 Aug 2018 08:13:58 -0500, "Matthew D. Fuller" <[email protected]> said:
fullermd> On Mon, Aug 20, 2018 at 06:33:11AM +0200 I heard the voice of fullermd> Richard Levitte, and lo! it spake thus: fullermd> > fullermd> > Boy, have I kept away for a while! fullermd> fullermd> Indeed! I was afraid for a while I was gonna have to dock your pay. fullermd> But I decided since you've been working at keeping that 5th letter of fullermd> the snapshot URL working, that counts :) :-D fullermd> I think we actually only need to override LC_COLLATE in the script to fullermd> get it sorting right, since that overrides LANG. The sv_SE locales on fullermd> my system all separate v and w[0], but I can misorder it in Czech fullermd> (where 'ch' comes after 'h'), and overriding LC_COLLATE fixes it. fullermd> Though in double checking, LC_ALL overrides LC_COLLATE, so maybe we fullermd> need to use that instead to be sure of safety against users trying to fullermd> sabotage us. Can you double-check that just LC_ALL DTRT's for you? Just LC_ALL works wonders. According to docs, that's the mother of all other locale variables, "the ring to rule them all" if you will, so it's a darn safe bet. I'd rather see that than LC_COLLATE, as I'm thinking that a future expansion of the script, if there ever is one, might need other locale properties than just collation... But hey, I'd say it's your decision in the end ;-) fullermd> Blech. Language is stupid. 14-century Germanic derivations of the fullermd> Latin alphabet were good enough for Jesus, why aren't they good enough fullermd> for you!? I'll give you runes ;-p fullermd> [0] According to wikipedia (so it must be true!), fullermd> The letter "W" has been treated as a variant of "V", but in the fullermd> 13th edition of Svenska Akademiens ordlista (2006) "W" was fullermd> considered a separate letter. Ooooh! I guess that the collate table that's used for Swedish on Debian needs an update, then... -- Richard Levitte [email protected] http://richard.levitte.org/ "Life is a tremendous celebration - and I'm invited!" -- from a friend's blog, translated from Swedish
