Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Search Forums:



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-07-2012
Registered User
 

Join Date: Apr 2011
Location: Philippines
Posts: 16
Thanks: 5
Thanked 1 Time in 1 Post
sort help

I would like to ask for the equivalent option in Linux of this AIX command:
Code:
sort -A

I tried "man sort" from AIX and it gives me:

Code:
-A     Sorts on a byte-by-byte basis using ASCII collation order instead of collation in the current locale.

However in Linux this seems to be not available. Pls. advise.

TIA

Last edited by budz26; 02-07-2012 at 06:28 AM..
Sponsored Links
    #2  
Old 02-07-2012
Registered User
 

Join Date: Aug 2009
Location: New Jersey
Posts: 314
Thanks: 6
Thanked 66 Times in 54 Posts

Code:
LC_ALL=C sort ...

Sponsored Links
    #3  
Old 02-07-2012
Registered User
 

Join Date: Apr 2011
Location: Philippines
Posts: 16
Thanks: 5
Thanked 1 Time in 1 Post
Is there a way to call this from the command line?

On AIX, it was executed as:

Code:
sort -A a.txt

Need to run this on Linux. Pls. help

Last edited by budz26; 02-07-2012 at 09:37 PM..
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help to sort out... Possible use of sort command dnam9917 Shell Programming and Scripting 5 02-04-2012 01:08 PM
Is it Possible to sort a list of hexadecimal numbers using "sort" command? Kesavan Shell Programming and Scripting 9 08-21-2011 08:33 AM
Script to sort the files and append the extension .sort to the sorted version of the file pankaj80 UNIX for Advanced & Expert Users 3 06-07-2011 09:28 AM
How to Sort Floating Numbers Using the Sort Command? daniel.gbaena Shell Programming and Scripting 7 05-16-2010 11:20 AM
How to Sort?? Pls help!! kn.naresh Shell Programming and Scripting 1 05-15-2008 06:23 AM



All times are GMT -4. The time now is 03:41 AM.