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
Describe stream connector?
What are the differences between datastage and informatica?
Explain connectivity between datastage with datasources?
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
What is ds designer?
How can we improve performance of data stage jobs?
What is the difference between Datastage 7.5 and 7.0?
what should be ensure to run the sequence job so that if its get aborted in 10th job before 9job should get succeeded?
What is a ds designer?
Why we use surrogate key?
Describe the architecture of datastage?
explain about citrix scheduling tool in datastage
Hi, what is use of Macros,functions and Routines..? At what situation you are used. If you know the answer please explain it. Thanks.
file having these input and we have to get 3 output using same job Input 1 1 1 2 3 4 4 4 o/p1 o/p2 o/p3 1 1 2 2 1 3 3 1 4 4 4
What is meta stage?