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