> 
> Message: 4
> Date: Tue, 31 Jul 2007 17:45:58 +0800
> From: Agi Rivera <[EMAIL PROTECTED]>
> 
> I'm currently studying using utilities and tools
> available at the 
> terminal. I'm puzzled by sort's behavior. The manual says
> that it does 
> not ignore trailing whitespace when sorting, you'd have
> to put the -b 
> option. However with or without the -b option, it ignores
> whitespace...

   It has something to do with locales 

   Try typing:

   export LC_ALL=C
   sort sample

       bread
      ham
     bacon
   eggs

   Try "info sort" for detailed explanation.

Hope that helps,
ludwig


       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
plug@lists.linux.org.ph (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to