bug-coreutils
[Top][All Lists]
Advanced

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

Re: ASCII sort


From: Bob Proulx
Subject: Re: ASCII sort
Date: Wed, 27 Sep 2006 09:33:23 -0600
User-agent: Mutt/1.5.9i

John J. Herda wrote:
> I have a problem with the "sort" utility.  I want a
> simple ASCII sort but I cannot seem to get it.  It is
> most frustrating.

All of your examples worked correctly for me.  The problem is most
likely something specific to your user environment.

> I have tried "set LC_ALL=C" and several others also but it seemed to
> have no effect.  What can I do?  Please, help me.  Sorting is
> useless.

I see by your examples that you are a csh user.  I suggest upgrading
to a more modern shell that is POSIX compliant.  I suggest bash but
any POSIX compliant shell would be an improvement.  Please consider
upgrading to bash.  I strongly recommend this.

In csh if you are using 'set' that will NOT export the variable.  In
csh you would need to use 'setenv'.

What does locale say?

  locale

Bob




reply via email to

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