Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 1998 11:52:18 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/7228: at(1) does not accept long month names
Message-ID:  <199807091852.LAA09846@bubba.whistle.com>

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

>Number:         7228
>Category:       bin
>Synopsis:       at(1) does not accept long month names
>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:   Thu Jul  9 12:00:01 PDT 1998
>Last-Modified:
>Originator:     Archie Cobbs
>Organization:
Whistle Communications, Inc.
>Release:        FreeBSD 2.2.6-RELEASE i386
>Environment:

	2.2.6 up through -current

>Description:

	The "at" command accepts short month names like "jul"
	but not long ones like "july".

>How-To-Repeat:

	$ at 1600 july 14
	at: garbled time

>Fix:

Index: parsetime.c
===================================================================
RCS file: /cvs/freebsd/src/usr.bin/at/parsetime.c,v
retrieving revision 1.12
diff -c -r1.12 parsetime.c
*** parsetime.c	1998/05/05 01:53:15	1.12
--- parsetime.c	1998/07/09 18:51:34
***************
*** 103,108 ****
--- 103,120 ----
      { "oct", OCT,0 },
      { "nov", NOV,0 },
      { "dec", DEC,0 },
+     { "january", JAN,0 },
+     { "february", FEB,0 },
+     { "march", MAR,0 },
+     { "april", APR,0 },
+     { "may", MAY,0 },
+     { "june", JUN,0 },
+     { "july", JUL,0 },
+     { "august", AUG,0 },
+     { "september", SEP,0 },
+     { "october", OCT,0 },
+     { "november", NOV,0 },
+     { "december", DEC,0 },
      { "sunday", SUN, 0 },
      { "sun", SUN, 0 },
      { "monday", MON, 0 },
>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?199807091852.LAA09846>