diff options
Diffstat (limited to 'usr.bin/tail')
-rw-r--r-- | usr.bin/tail/tail.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tail/tail.c b/usr.bin/tail/tail.c index 9b7d9a2..aaa6b0c 100644 --- a/usr.bin/tail/tail.c +++ b/usr.bin/tail/tail.c @@ -216,7 +216,7 @@ main(argc, argv) /* * Convert the obsolete argument form into something that getopt can handle. - * This means that anything of the form [+-][0-9][0-9]*[lbc][fr] that isn't + * This means that anything of the form [+-][0-9][0-9]*[lbc][Ffr] that isn't * the option argument for a -b, -c or -n option gets converted. */ static void @@ -252,7 +252,7 @@ obsolete(argv) * output style characters. */ t = *argv + len - 1; - if (*t == 'f' || *t == 'r') { + if (*t == 'F' || *t == 'f' || *t == 'r') { *p++ = *t; *t-- = '\0'; } @@ -291,6 +291,7 @@ obsolete(argv) ++argv; /* FALLTHROUGH */ /* Options w/o arguments, continue with the next option. */ + case 'F': case 'f': case 'r': continue; |