while (argv
[1][0] == '-')
keywant
= (argv
[1][2] ? argv
[1][2] : 'L');
err("too many -p options (%d)", NSERCH
);
bare
= (argv
[1][2] == '1') ? 1 : 2;
authrev
= atoi (argv
[1]+2);
*search
++ = "/usr/dict/papers/Ind";
sprintf(tfile
, "/tmp/rj%da", getpid());
fprintf(stderr
,"Can't open scratch file");
sep
= 002; /* separate records without confusing sort..*/
sprintf(ofile
,"/tmp/rj%db", getpid());
ftemp
= fopen(ofile
, "w");
fprintf(stderr
, "Can't open scratch file\n");
in
= fopen(Ifile
=argv
[1], "r");
err("Can't read %s", Ifile
);
fprintf(stderr
, "line %.20s\n",line
);
fprintf(stderr
, "past output/doref\n");
oldint
= signal(SIGINT
, &intr
);
if (tfile
[0]) unlink(tfile
);
if (gfile
[0]) unlink(gfile
);
if (ofile
[0]) unlink(ofile
);
if (hidenam
[0]) unlink(hidenam
);