Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/src/cmd/refer/refer0.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


# include "stdio.h"
# include "refer.h"
FILE *in = stdin;
int	order = 0;
int	endpush  = 0;
int	labels = 0;
int	keywant = 0;
int	sort = 0;
int	bare = 0;
int	nobracket = 0;
int	yearonly = 0;
int	headers = 0;
int	preserve = 0;
int	authrev = 0;
int	nocomma = 0;
char	*referlib = "/bin/refer";
char	*smallcaps = "";
char	*appfld = "";
char	*ignfld = "XYZ[]";
char	*keystr = "AD";
char	*labsepstr = NULL;
int	nmlen = 0, dtlen = 0;
char	*labblkflg = 0;
char	*rdata[NSEARCH];
char	**search = rdata;
int	refnum = 0;
char	reftext[NRFTXT];
char	*reftable[NRFTBL];
char	*rtp = reftext;
int	sep = '\n', hsep = '\005';
int	sqbrack = 0;
char	tfile[NTFILE];
char	tdfile[NTFILE];
FILE *fo = stdout;
FILE *ftemp = stdout;
char	ofile[NTFILE];
char	gfile[NTFILE];
char	hidenam[NTFILE];
char	*Ifile = "/dev/stdin";
int	Iline  = 0;
char *convert = "X.AP";
int biblio = 0;

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.