On Fri, 5 May 2000, Thomas Dodd wrote:

> Jeff Foster wrote:
> > 
> > I had a similar experience lately; I got surprised because sort and strcmp
> > did not agree on the order of things.  In my case, my locale was set to
> > en_US by gnome (I think).  Setting LC_ALL=C (instead of en_US) and then
> > doing sort makes sort use strcmp to pick the sorting order, which may
> > solve your problem.
> 
> Does that doanything for the 'sort -n' bugs?

I don't know.  The sort info page (run the command ``info sort'') contains
a fairly long description of the -n option.  It looks like LC_NUMERIC can
affect the sorting of numbers.

Jeff


-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to