Re: sort does not seem to work "correctly"
From: jpd (read_the_sig_at_do.not.spam.it.invalid)
Date: 01/24/05
- Next message: jpd: "Re: What Is Better than ps (want program name etc)"
- Previous message: Luciano: "sort does not seem to work "correctly""
- In reply to: Luciano: "sort does not seem to work "correctly""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Jan 2005 10:13:36 GMT
Begin <Pine.GSO.4.44.0501240843340.24878-100000@unics>
On 2005-01-24, Luciano <nhbfluci@rrzn-user.uni-hannover.de> wrote:
> I use sort to sort a file containing german words.
[snip]
> I would like to sort my file in such a way that
> a with umlaut is considered like an a, as
> is done in germans dictionary,
> but sort does not do it.
It should if you feed it the correct locale: The environment variable
LC_COLLATE should be set appropiately. (Set to de_DE.ISO8859-15 or
possibly de_DE.UTF-8, depending on the encoding used in your file.)
-- j p d (at) d s b (dot) t u d e l f t (dot) n l .
- Next message: jpd: "Re: What Is Better than ps (want program name etc)"
- Previous message: Luciano: "sort does not seem to work "correctly""
- In reply to: Luciano: "sort does not seem to work "correctly""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|