Subject: misc/10926: mistake in date(1) man page
To: None <gnats-bugs@gnats.netbsd.org>
From: None <xela@mit.edu>
List: netbsd-bugs
Date: 08/31/2000 12:18:11
	Note: There was a bad value `doc' for the field `>Class:'.
	It was set to the default value of `sw-bug'.


>Number:         10926
>Category:       misc
>Synopsis:       error in quoting in example in date man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 31 12:19:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Alex
>Release:        <NetBSD-current source date>
>Organization:
	
>Environment:
	
System: NetBSD swellbox 1.4.2 NetBSD 1.4.2 (GENERIC+MAXUSERS256) #1: Wed Jun 28 03:32:21 EDT 2000 root@khwarizmi:/usr/src/sys/arch/i386/compile/GENERIC+MAXUSERS256 i386


>Description:
According to the man page:
EXAMPLES
     The command:

           date ``+DATE: %m/%d/%y%nTIME: %H:%M:%S''

     will display:

           DATE: 11/21/87
           TIME: 13:36:16

In reality:
:~% date ``+DATE: %m/%d/%y%nTIME: %H:%M:%S''
date: illegal time format
usage: date [-nu] [-r seconds] [+format]
       date [[[[[cc]yy]mm]dd]hh]mm[.ss]

	
>How-To-Repeat:
See above	
>Fix:
Replace `` ... '' where they're wrong in the man page with " ... "
	
>Release-Note:
>Audit-Trail:
>Unformatted: