Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 02:18:50 +0100 (CET)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/24586: tail usage doesn't match the manual page (-F)
Message-ID:  <200101240118.f0O1Iov06321@gits.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         24586
>Category:       bin
>Synopsis:       tail usage doesn't match the manual page (-F)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 23 17:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
ACME
>Environment:

FreeBSD gits 4.2-STABLE FreeBSD 4.2-STABLE #7: Tue Jan 23 07:33:34 CET 2001     root@gits:/disk2/4.x-stable/src/sys/compile/CUSTOM  i386

>Description:

	the -F option is missing from the tail usage.

>How-To-Repeat:

	# tail -?
	usage: tail [-f | -r] [-b # | -c # | -n #] [file ...]
	# man tail
	...
	tail [-F | -f | -r] [-b number | -c number | -n number] [file ...]

>Fix:

Index: tail.c
===================================================================
RCS file: /home/ncvs/src/usr.bin/tail/tail.c,v
retrieving revision 1.6
diff -u -r1.6 tail.c
--- tail.c	1999/07/04 17:26:03	1.6
+++ tail.c	2001/01/24 00:24:14
@@ -302,6 +302,6 @@
 usage()
 {
 	(void)fprintf(stderr,
-	    "usage: tail [-f | -r] [-b # | -c # | -n #] [file ...]\n");
+	    "usage: tail [-F | -f | -r] [-b # | -c # | -n #] [file ...]\n");
 	exit(1);
 }

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101240118.f0O1Iov06321>