LSTOWN-L Archives

LISTSERV List Owners' Forum

LSTOWN-L

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

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

Print Reply
Nick Laflamme <[log in to unmask]>
Wed, 12 Jan 1994 08:23:28 EST
text/plain (46 lines)
On Tue, 11 Jan 1994 23:11:58 -0600 Winship said:
>My question is this:  does anyone out there in Listowner Land know of a
>program which will compare different text files and give a report as to
>the exact matches in them?  It can be a program for UNIX, VAX, VM/CMS, or
>DOS.  One or the other of us should be able to use it.
 
If your VM/CMS systems have CMS Pipelines on them, this is an easy problem
in CMS Pipelines if you only want exact matches:
 
(The following is untested code written ad hoc.  Ask on CMSPIP-L if you
want an explanation. :-) )
 
/* */
 
"PIPE (end \) < AUTOCAT LIST",
"| nfind *", /* take out comment lines */
"| specs w1 1", /* first word, e-mail address, only taken for line */
"| a: collate master", /* compare two streams, matches to primary output */
"| b: collate master", /* compare matches with third stream */
"| cons",
"\ < PACS-L LIST",
"| nfind *",
"| specs w1 1",
"| a:",
"| hole",
"\ < LIBRPLN-L LIST",
"| nfind *",
"| specs w1 1",
"| b:",
"| hole
 
This program, of course, will not match [log in to unmask] with
nlaflamm@irishvma even though both are equivilent, nor is it even case
sensitive, which arguably is the correct way to do it.  Still, it should do
what you asked for, finding exact matches of e-mail addresses.
 
Nick
 
--
* [log in to unmask]
* ------
* Come to the 1994 VM Workshop: June 7-10 at the University of Notre
* Dame!  User Experience talks, dialogues with IBM, and presentations
* from other vendors in an informal setting.  Contact me or sign up for
* [log in to unmask] for details!

ATOM RSS1 RSS2