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
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to