Article View: alt.lang.awk
Article #24Help
From: Sumon Bhaumik
Date: Thu, 28 Jan 1993 06:18
Date: Thu, 28 Jan 1993 06:18
15 lines
772 bytes
772 bytes
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
Technical Details
Message-ID:
<1k7triINN41n@almaak.usc.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!hela.iti.org!usc!usc!not-for-mailShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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