[EMAIL PROTECTED] wrote: >On Fri, 10 May 2002 [EMAIL PROTECTED] wrote: > >>I could forgive myself if I hadn't just answered an 'ls doesn't sort >>right question' about two minutes before the above. But then I did: >> >>export LC_LOCATE=C >>awk -f simple.awk sample.txt >> >>Weird, same errors... :/ >>(note stupid syntax error). >> > >I'm lonely so I'll reply to my own post: > >Technically not a *syntax* error... > >civileme: > Do all these utilities (grep, awk, sed, etc) implement their own > sort routines internally? > > > >------------------------------------------------------------------------ > >Want to buy your Pack or Services from MandrakeSoft? >Go to http://www.mandrakestore.com > Yes, see
http://www.mandrakeforum.com/article.php?sid=1093&lang=en The trick is to use [:lower:] and [:upper:] type constructs to stay independent of LANG and LC_COLLATE variables--(I think you need to set both otherwise) Civileme
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com