HP3000-L Archives

July 2002, Week 3

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:
Ken Hirsch <[log in to unmask]>
Reply To:
Ken Hirsch <[log in to unmask]>
Date:
Mon, 15 Jul 2002 13:49:58 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
Wirt wrtes:
> Paul writes:
>
> > However, Jeff's suggestion, while it eliminates superfluous processes,
will
> >  NOT "solve" Allen's original request of producing a list of "unmatched"
> >  records.
>
> That's true. The process Allen requested is going to intrinsically require
> some sort of set subtraction. The processes that have been mentioned up to
> now in POSIX have only been doing set unioning.

Not my solution.  "join -v" does a difference, as would "comm -23",

sort -t '|' master >master.sorted
sort -t '|' newfile >newfile.sorted
join -t '|' -v 1 newfile.sorted master.sorted >nomatch

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

ATOM RSS1 RSS2