![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to delete particular rows from a file | suresh3566 | Shell Programming and Scripting | 5 | 06-02-2008 05:07 AM |
| duplicate rows in a file | infyanurag | Shell Programming and Scripting | 3 | 05-22-2008 12:39 AM |
| Delete repeated rows from a file | tonet | Shell Programming and Scripting | 8 | 04-08-2008 09:42 AM |
| delete semi-duplicate lines from file? | paqman | Shell Programming and Scripting | 2 | 02-11-2008 05:46 PM |
| Delete Duplicate records from a tilde delimited file | irshadm | Shell Programming and Scripting | 5 | 12-06-2007 05:36 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
how to delete duplicate rows in a file
I have a file content like below.
Code:
"0000000","ABLNCYI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCYI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCYI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCYI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCYO","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCYO","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCYO","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCYO","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCZI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCZI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCZI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCZI","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCZO","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCZO","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCZO","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" "0000000","ABLNCZO","BOTH",1049,2058,"XYZ","5711002","","Y","","","","","","","","" I want to know the command to delete duplicate rows in whole file. Thanks in advance. Last edited by Yogesh Sawant; 06-18-2008 at 09:13 AM.. Reason: added code tags |
![]() |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|