problem wth sort utility?

Roberto Ragusa mail at robertoragusa.it
Fri Jul 1 11:18:01 UTC 2011


On 07/01/2011 12:08 PM, Michael D. Setzer II wrote:
> Thanks. I looked thru the man sort, but didn't find a switch that I 
> would expect to change this.
> 
> The command I use that no works is
> fsarchiver probe 2>&1 | LC_ALL=C sort 
> 
> What makes this not the default? 
> 
> I do other filtering to extract subsets and reformat data so it works 
> with a dialog radio button screen to select the info.

If you put a

export LC_ALL=C

in your script all the sort commands will work as you want.
You may also discover that grep becomes hugely faster. :-)

-- 
   Roberto Ragusa    mail at robertoragusa.it


More information about the users mailing list