[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alphabetic order



On Friday 07 April 2006 07:51, Hendrik Sattler wrote:
> $ unset LC_COLLATE
> $ locale
> [...]
> LC_COLLATE="de_DE.UTF-8"
> [...]
> $ echo -e "A\na\nB\nb" | sort
> a
> A
> b
> B

It works here also with just an unset LC_COLLATE. I would not
set it unless it needs to differ from LANG

wr:~/b/av$ echo $LC_COLLATE

wr:~/b/av$ echo $LANG
de_DE@euro
wr:~/b/av$  echo -e "A\na\nB\nb" | sort
a
A
b
B

-- 
Wolfgang



Reply to: