bug-bash
[Top][All Lists]
Advanced

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

Re: Sort: problem with option -f


From: DennisW
Subject: Re: Sort: problem with option -f
Date: Thu, 28 Jan 2010 09:40:47 -0800 (PST)
User-agent: G2/1.0

On Jan 28, 8:43 am, Guido Milanese <guido.milan...@unicatt.it> wrote:
> I am facing a problem concerning SORT on a Linux Ubuntu 9.04
> distribution.
> I noticed that the -f option seems not to work. This is an example:
> DOG
> CAT
> zebra
> dog
> ZEBRA
> mouse
>
> Running "sort" on the file I get:
> CAT
> dog
> DOG
> mouse
> zebra
> ZEBRA
>
> Running "sort -f " I get the same result. No problem of encoding, being
> plane letters <127 -- to be sure I saved the list as 'test', and "file
> test" says it's a pure ASCII text. Without the '-f' option, 'sort' used to
> distinguish among lowercase / uppercase.
> Is this a bug or a new behaviour of 'sort' ?
>
> Thanks!
> guido
> guido.milan...@unicatt.itwww.arsantiqua.org

This has little or nothing to do with Bash.

Try this:

LANG=C sort


reply via email to

[Prev in Thread] Current Thread [Next in Thread]