extern char *comname
; /* "/usr/lib/eign" */
/* this program expects as its arguments a list of
files and generates a set of lines of the form
filename:byte-add,length (tab) key1 key2 key3
where the byte addresses give the position within
the file and the keys are the strings off the lines
which are alphabetic, first six characters only.
while (argc
>1 && argv
[1][0] == '-')
minlen
= atoi(argv
[1]+2);
case 'n': /* number of common words to use */
comcount
= atoi(argv
[1]+2);
case 'k': /* number of keys per file max */
keycount
= atoi(argv
[1]+2);
case 's': /* suppress labels, search only */
while (fgets(qn
, 200, ff
))
fprintf(stderr
, "Can't read %s\n",qn
);
f
= fopen(name
=argv
[i
], "r");