[prev in list] [next in list] [prev in thread] [next in thread]
List: kstars-devel
Subject: Re: [Kstars-devel] Cities.dat collation and 475 new Canadian cities
From: Jason Harris <kstars () 30doradus ! org>
Date: 2006-04-04 15:13:10
Message-ID: 200604040813.10076.kstars () 30doradus ! org
[Download RAW message or body]
Hello,
Hmm...'sort Cities.dat | diff Cities.dat -' gives no output here.
Is it possible that the "out of order" lines are those that begin with
non-ascii characters? Maybe your system and mine are somehow set up to sort
non-ascii letters differently. In any case, send me the output of your sort|
diff, let's see if we can figure out what is going on.
regards,
Jason
On Tuesday 04 April 2006 05:10, Patrice Levesque wrote:
> Hi!
>
> A friend of mine gave me a list of 475 Canadian cities with all needed
> details (TZ, DST) for inclusion in kstars' Cities.dat.
>
> After formatting his data in the Cities.dat format, I wanted to merge
> it, but I find I can't determine the collation order of the Cities.dat
> file.
>
> In console terms, `sort Cities.dat | diff Cities.dat -` gives me output
> even after trying with different LC_ALL/LC_COLLATE environment
> variables.
>
> Is this subtle ordering intended?
>
> How can I merge the 475 cities without resorting to strong coffee and
> Vim?
--
KStars: http://edu.kde.org/kstars
Community Forums: http://kstars.30doradus.org
_______________________________________________
Kstars-devel mailing list
Kstars-devel@kde.org
https://mail.kde.org/mailman/listinfo/kstars-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic