From owner-cvs-bin Tue Aug 5 16:10:03 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA11438 for cvs-bin-outgoing; Tue, 5 Aug 1997 16:10:03 -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 QAA11373; Tue, 5 Aug 1997 16:09:31 -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 XAA04701; Tue, 5 Aug 1997 23:09:31 +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 XAA27810; Tue, 5 Aug 1997 23:09:30 +0100 (BST) Message-Id: <199708052209.XAA27810@awfulhak.org> X-Mailer: exmh version 2.0zeta 7/24/97 To: Brian Somers 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 In-reply-to: Your message of "Sun, 03 Aug 1997 20:37:08 PDT." <199708040337.UAA13479@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 05 Aug 1997 23:09:30 +0100 From: Brian Somers Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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 , Don't _EVER_ lose your sense of humour....