From owner-freebsd-hackers Tue Jul 29 15:39:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA17927 for hackers-outgoing; Tue, 29 Jul 1997 15:39:14 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA17908 for ; Tue, 29 Jul 1997 15:39:08 -0700 (PDT) Received: from awfulhak.org (dev.lan.awfulhak.org [10.0.1.5]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id UAA22436; Tue, 29 Jul 1997 20:28:06 +0100 (BST) Received: from dev.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.6/8.8.6) with ESMTP id UAA20404; Tue, 29 Jul 1997 20:28:05 +0100 (BST) Message-Id: <199707291928.UAA20404@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: dk+@ua.net cc: brian@awfulhak.org (Brian Somers), freebsd-hackers@FreeBSD.ORG Subject: Re: date(1) In-reply-to: Your message of "Tue, 29 Jul 1997 01:52:00 PDT." <199707290852.BAA13807@dog.farm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 29 Jul 1997 20:28:05 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > In article <199707290356.EAA22036@awfulhak.org> you wrote: > > > > Yep. I think I'll fix the usage message too - shouldn't it be: > > > > > > > > [[yy[mm[dd[hh]]]]mm[.ss]] > > It should become > > [[[cc]yy[mm[dd[hh]]]]mm[.ss]] > > or we are screwed in 866 days from now. > > > > > I must say, this format beats the mmddhhmmyy format in SYSV ! > > /usr/bin/date [-u] [[mmdd]HHMM | mmddHHMM[cc]yy][.SS] > > (quote from Solaris 2.5.1 manpage) Hmm, this says that the following are ok (the [mmdd] bit is extraneous too): date HHMM date mmddHHMM date mmddHHMMyy date mmddHHMMccyy date .SS date HHMM.SS date mmddHHMM.SS date mmddHHMMyy.SS date mmddHHMMccyy.SS If this usage message reflects the behaviour of date(1) on Solaris, I'd be surprised :-I > -- > I have BSD, but SYSV has me. > -- heared from Igor Uwkin (uwka@big.Sun.nsk.SU) -- Brian , Don't _EVER_ lose your sense of humour....