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
Interesting date/ps time mismatch r0sc0 UNIX for Dummies Questions & Answers 14 07-04-2008 04:04 AM
Use records from one file to delete records in another file kenneth.mcbride UNIX for Dummies Questions & Answers 5 06-18-2008 11:36 AM
Count No of Records in File without counting Header and Trailer Records guiguy Shell Programming and Scripting 2 06-07-2007 09:15 AM
X Keyboard Extension version mismatch hiker04 SUN Solaris 0 09-13-2005 05:51 AM
Migration of binary file from Sunos 5.8 to Sunos 5.9 Arvind Maurya UNIX for Advanced & Expert Users 1 07-12-2005 03:23 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-02-2008
RRVARMA's Avatar
Registered User
 

Join Date: Feb 2008
Location: Bangalore, INDIA
Posts: 23
Question Records mismatch while sorting in MPRAS and SunOS

Hi,

As part of migrating a script from SunOS to MP RAS, the following script is not functioning in desired way.

Code:
sort -t\| -u +6 -7 +12 -14 textfile1.out > \
        textfile2uniq.out
The -u is fetching unique records differently on SunOS and MP RAS Pentium IV. And thus the records are mismatching. The file "textfile1.out" is same for both OS.
I'm not supposed to change the fields that is being sorted.

Could anyone please tell me how to get out of this problem. Atleast give me some clues.

Thank you,
RRVARMA

Last edited by RRVARMA; 07-02-2008 at 04:27 AM.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-02-2008
RRVARMA's Avatar
Registered User
 

Join Date: Feb 2008
Location: Bangalore, INDIA
Posts: 23
Question Plz let me know if u have any doubts regarding my problem.

Please post replies if you are not able to understand the above question. I'll try to make it more clear if u hav any doubts.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:33 AM.


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

Content Relevant URLs by vBSEO 3.2.0