Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the various kinds of containers available in datastage?

1048


Distinguish between informatica & datastage. Which one would you choose and why?

1010


Explain Quality stage?

1156


What is the difference between account and directory options ?

1182


table actions available in oracle connector?

1611


What is the differentiate between data file and descriptor file?

1362


How do you import and export the datastage jobs?

1159


Whats difference betweeen operational data stage (ods) and data warehouse?

1116


What is datastage engine?

1179


What are the different kinds of views available in a datastage director?

1030


Can you implement SCD2 using join, transformer and funnel stage?

1557


Differentiate between datastage and informatica?

1181


what are the devoleper roles in real time? plz tell i am new to datastage....

2163


What are the components of datastage?

1123


What is the method of removing duplicates, without the remove duplicate stage?

1026