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
Differentiate between operational datastage (ods) and data warehouse?
Could anyone give brief explanation bout datastage admin
how to delete one row in target dataset
What are the repository tables in datastage?
what are the devoleper roles in real time? plz tell i am new to datastage....
Differentiate between data file and descriptor file?
explain about completely flow of sequencers technicaly,without using example??explain about lookup,nullhandling?
Can you explain players in datastage?
How do you generate sequence number in datastage?
What is ibm datastage flow designer?
What are the primary usages of datastage tool?
Name the different types of Lookups in Datastage?
How rejected rows are managed in datastage?
What are the different layers in the information server architecture?
What is use Array size in datastage