X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/e804469b5b0975de34bae1e66c3e6371249d3ee7..0f4556f12c8f75078501c9d1338ae7648a97f975:/usr/src/usr.bin/refer/refer0.c diff --git a/usr/src/usr.bin/refer/refer0.c b/usr/src/usr.bin/refer/refer0.c index 8db8118032..6ce3cc8a62 100644 --- a/usr/src/usr.bin/refer/refer0.c +++ b/usr/src/usr.bin/refer/refer0.c @@ -1,18 +1,25 @@ -# include "stdio.h" -# include "refer..c" +#ifndef lint +static char *sccsid = "@(#)refer0.c 4.1 (Berkeley) 5/6/83"; +#endif + +#include "refer..c" + FILE *in = stdin; -int endpush = 0; +FILE *fo = stdout; +FILE *ftemp = stdout; +int endpush = 0; +int sort = 0; int labels = 0; int keywant = 0; -int sort = 0; int bare = 0; -int nobracket=0; +int biblio = 0; +int science = 0; +int postpunct = 0; int authrev = 0; -int nocomma=0; char *smallcaps = ""; char *keystr = "AD"; +char *convert = "X.AP"; int nmlen = 0, dtlen = 0; -int labblkflg=0; char *rdata[NSERCH]; char **search = rdata; int refnum = 0; @@ -21,10 +28,8 @@ char *reftable[NRFTBL]; char *rtp = reftext; int sep = '\n'; char tfile[NTFILE]; -FILE *fo = stdout; -FILE *ftemp = stdout; char ofile[NTFILE]; char gfile[NTFILE]; char hidenam[NTFILE]; char *Ifile = "standard input"; -int Iline =0; +int Iline = 0;