Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2000 08:12:25 -0700 (PDT)
From:      bobj@atlantic.net
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/18792: date man page has misleading description of -r option
Message-ID:  <20000524151225.EC12537BC74@hub.freebsd.org>

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

>Number:         18792
>Category:       docs
>Synopsis:       date man page has misleading description of -r option
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 24 08:20:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bob Johnson
>Release:        3.4-STABLE FreeBSD 3.4-STABLE #2: Mon Mar 27
>Organization:
>Environment:
>Description:
"man date" says

 -r      Print out the date and time in seconds from the Epoch. 

which isn't really accurate.	It prints the time that is a 
user-specified number of seconds from the Epoch.

>How-To-Repeat:
man date

Note that synopsis specifies _seconds_ argument to the -r option.

>Fix:
Change it to say 

 -r     Print out the date and time that is _seconds_ seconds from the Epoch.



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


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




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