How can remove duplicates in a file using UNIX?
Answer Posted / vishwababu
You can use UNIQ to remove duplicates frm a file but it can
consider only same consecutive records.
Ex: if u hve records as
1 vishwa
1 Shruti
2 Ravi
3 Naveen
1 vishwa
and if u use UNIQ cmd, then you wil get vishwa, Ravi, Naveen
and vishwa.
So perform sort before using UNIQ so tat to avoid duplicates
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
There are two file are there .1st file contains 5 records and 2nd file contain 10 records in target they want 50 records.how can achieve this
Difference between sequential file and data set?
What are the features of datastage flow designer?
What is the difference between server job and parallel jobs?
What are the steps needed to create a simple basic datastage job?
How one source columns or rows to be loaded in to two different tables?
what are the errors,warnings in datastage
Where do the datastage jobs get stored?
Define data aggregation?
Why fact table is in normal form?
im new to this tool im now at project plz tell me step by step process how to design plz help me i wnt to go with exp for job plz give me d proper design and explination
how to run a sequential file stage in parallel if the stage is used on the TARGET side
How many types of stage?
What is merge stage?
How can you write parallel routines in datastage PX?