Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Aug 1997 23:09:30 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Brian Somers <brian@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG
Subject:   Re: cvs commit: src/bin/date vary.c vary.h Makefile date.1 date.c 
Message-ID:  <199708052209.XAA27810@awfulhak.org>
In-Reply-To: Your message of "Sun, 03 Aug 1997 20:37:08 PDT." <199708040337.UAA13479@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> brian       1997/08/03 20:37:08 PDT
> 
>   Modified files:
>     bin/date             Makefile date.1 date.c 
>   Added files:
>     bin/date             vary.c vary.h 
>   Log:
>   Add [-DWMY] flags for date adjustment.
>   Discussed with: freebsd-hackers
>   
>   Revision  Changes    Path
>   1.5       +2 -2      src/bin/date/Makefile
>   1.13      +58 -2     src/bin/date/date.1
>   1.14      +24 -4     src/bin/date/date.c
> 

On second thoughts, perhaps this is the wrong way to go about things. 
There's no way to adjust the hour/min/sec here, and no flags left to 
allow it.

What about if I change it to the following:

  [ -v [+|-]val[y|m|d|H|M|S] ]

The character after ``val'' is compulsory only if ``val'' is a 
numeric.  Usage is otherwise pretty much the same.

Comments ?
-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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