SCCS-vsn: usr.bin/more/main.c 5.4
SCCS-vsn: usr.bin/more/option.c 5.2
SCCS-vsn: usr.bin/more/tags.c 5.2
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)main.c 5.3 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 5.4 (Berkeley) %G%";
#endif /* not lint */
/*
public char * editor;
-#if TAGS
extern char * tagfile;
extern char * tagpattern;
extern int tagoption;
-#endif
/*
* Edit a new file.
/*
* Select the first file to examine.
*/
-#if TAGS
if (tagoption)
{
/*
if (tagsearch())
quit();
} else
-#endif
if (ac < 1)
edit("-"); /* Standard input */
else
*/
#ifndef lint
-static char sccsid[] = "@(#)option.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)option.c 5.2 (Berkeley) %G%";
#endif /* not lint */
/*
extern int force_logfile;
extern int logfile;
#endif
-#if TAGS
extern char *tagfile;
extern char *tagpattern;
public int tagoption = 0;
-#endif
static char *opt_P();
else
(void) opt_P(s);
return;
-#if TAGS
case 't':
/*
* Special case for -t.
(void) tagsearch();
}
return;
-#endif
#if LOGFILE
case 'L':
/*
if (c == 'P')
return (0);
-#if TAGS
if (c == 't')
return (0);
-#endif
#if LOGFILE
if (c == 'l' || c == 'L')
return (0);
s = optstring(s, c);
goto next;
#endif
-#if TAGS
case 't':
{
char *p;
findtag(p);
goto next;
}
-#endif
case 'P':
s = opt_P(s);
goto next;
*/
#ifndef lint
-static char sccsid[] = "@(#)tags.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)tags.c 5.2 (Berkeley) %G%";
#endif /* not lint */
#include <stdio.h>
#define WHITESP(c) ((c)==' ' || (c)=='\t')
-#if TAGS
-
public char *tagfile;
public char *tagpattern;
jump_loc(linepos);
return (0);
}
-
-#endif