HP3000-L Archives

November 2004, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Nigel Skeet <[log in to unmask]>
Reply To:
Nigel Skeet <[log in to unmask]>
Date:
Tue, 2 Nov 2004 06:58:24 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
Hi all,

Brain isn't in gear today. What's the easiest way of removing duplicate
lines from a standard ASCII file ? File is sorted but looks like.

Line 1
Line 1
Line 2
Line 3
Line 4
Line 4

etc..... But I want to remove any duplicate lines.

Can't think this morning unless I knock something up in JCL to read the
input of each line then read the next line compare the 2 and if different
post to another file....

TIA

Nige...

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2