home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!gatech!paladin.american.edu!howland.reston.ans.net!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!mrcnext.cso.uiuc.edu!miller
- From: miller@mrcnext.cso.uiuc.edu (Geoffrey M. Miller)
- Subject: Need a program to compare lines in a text file
- Message-ID: <C0pro2.K44@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Mon, 11 Jan 1993 23:52:49 GMT
- Lines: 19
-
- Hopefully someone can help me with my problem!
-
- I have a text file well over 10000 lines that I need to edit.
- Many lines are exactly the same as others, and I need to remove the duplicates.
-
- So, what I need is a small program or maybe even an AREXX macro for CygnusEd:
-
- 1. Read in a line of text.
- 2. Compare that line to every line thereafter, deleting all identical lines.
- 3. Read in the next line and proceed, etc.
-
- Can someone whip this (relatively easy) program up for me, tell me where to
- locate an existing program that would accomplish this, or give me an AREXX
- script to use in CygnusEd or DirectoryOpus?
-
- I would be ETERNALLY grateful since I have no programming ability whatsover!
-
- Thanks! Geoff Miller (University of Illinois)
-
-