version 1.10, 2003/06/03 02:56:17 |
version 1.11, 2003/06/10 22:20:52 |
|
|
static void usage(void); |
static void usage(void); |
|
|
int |
int |
main(argc, argv) |
main(int argc, char *argv[]) |
int argc; |
|
char *argv[]; |
|
{ |
{ |
struct stat sb; |
struct stat sb; |
FILE *fp; |
FILE *fp; |
|
|
* the option argument for a -b, -c or -n option gets converted. |
* the option argument for a -b, -c or -n option gets converted. |
*/ |
*/ |
static void |
static void |
obsolete(argv) |
obsolete(char *argv[]) |
char *argv[]; |
|
{ |
{ |
char *ap, *p, *t; |
char *ap, *p, *t; |
int len; |
int len; |
|
|
} |
} |
|
|
static void |
static void |
usage() |
usage(void) |
{ |
{ |
(void)fprintf(stderr, |
(void)fprintf(stderr, |
"usage: tail [-f | -r] [-b # | -c # | -n #] [file ...]\n"); |
"usage: tail [-f | -r] [-b # | -c # | -n #] [file ...]\n"); |