* This module is believed to contain source code proprietary to AT&T.
* Use and redistribution is subject to the Berkeley Software License
* Agreement and your Software Agreement with AT&T (Western Electric).
static char sccsid
[] = "@(#)thash.c 4.3 (Berkeley) 4/18/91";
char *comname
= _PATH_EIGN
;
while (argc
>1 && argv
[1][0] == '-')
f
= fopen(name
=argv
[i
], "r");
printf("hashes %d used %d\n",nh
,z
);
/* read file f & spit out keys & ptrs */
while (fgets(line
, MAXLINE
, f
))
if (isalpha(c
) || isdigit(c
))
if (ky
[0] != '1' || ky
[1] != '9' || n
!= 4) return(0);
fprintf(stderr
, "Error: ");
while ( (c
= *t
++) == *s
++)
/* if (saw[x]) printf("%d %d\n", x, nw); */