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

Differentiate between operational datastage (ods) and data warehouse?

1115


Could anyone give brief explanation bout datastage admin

2310


how to delete one row in target dataset

3061


What are the repository tables in datastage?

1256


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

2096


Differentiate between data file and descriptor file?

988


explain about completely flow of sequencers technicaly,without using example??explain about lookup,nullhandling?

2404


Can you explain players in datastage?

1142


How do you generate sequence number in datastage?

1025


What is ibm datastage flow designer?

1079


What are the primary usages of datastage tool?

1016


Name the different types of Lookups in Datastage?

1213


How rejected rows are managed in datastage?

1443


What are the different layers in the information server architecture?

1075


What is use Array size in datastage

1718