The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Strange sed behaviour vino UNIX for Advanced & Expert Users 8 02-12-2008 03:51 AM
A Strange Behaviour!!! navojit dutta Shell Programming and Scripting 5 12-21-2007 01:35 AM
a strange message when executing the sort command marwan UNIX for Dummies Questions & Answers 3 04-27-2007 04:32 AM
Help me to resolve uncertian behaviour of a sort command pankajrai Shell Programming and Scripting 1 12-21-2005 11:12 AM
/etc/passwd strange behaviour! penguin-friend Linux 0 06-06-2005 09:00 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #15  
Old 05-29-2008
Registered User
 

Join Date: Jul 2006
Posts: 18
Aargh! Why on Earth does AIX not provide this option! It's just what I'm after
Reply With Quote
Forum Sponsor
  #16  
Old 05-29-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,650
If you split on the colons as well, sort should work. (We assume you don't really require a stable sort; if two lines have exactly the same sort key, their order should not matter; correct?) Did you try the awk script I posted before?
Reply With Quote
  #17  
Old 05-29-2008
Registered User
 

Join Date: Jul 2006
Posts: 18
Sorry era, yep, I have gone with that solution and it looks to be working a dream on my entire live data (about 43,000 rows). Thanks very much to all who have contributed in this thread, your help is much appreciated. I thought I was going mad when I saw the odd behaviour we've witnessed with sort in AIX here!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:49 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0