home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!hela.iti.org!usc!usc!not-for-mail
- From: sumonbha@almaak.usc.edu (Sumon Bhaumik)
- Newsgroups: alt.lang.awk
- Subject: Help
- Date: 27 Jan 1993 22:18:26 -0800
- Organization: University of Southern California
- Lines: 15
- Distribution: world
- Message-ID: <1k7triINN41n@almaak.usc.edu>
- NNTP-Posting-Host: almaak.usc.edu
-
- Guys, I am a new comer to awk. I am trying to do the following. I have a
- data set with 8 fields and 40000 rows. $1 is household id numbers. There
- are repetations in $1. What I want to do is to keep the row in which a
- household id appears first and delete all other rows with the same household
- id.
-
- How do I do this?
-
- Whoever is helping me, thank you. Can you please send the solution to my
- email address?
-
- Sumon
-
-
-
-