Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KRAve-0001ZR-Kc for mharc-grub-devel@gnu.org; Thu, 07 Aug 2008 15:13:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRAvd-0001XJ-2P for grub-devel@gnu.org; Thu, 07 Aug 2008 15:13:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRAvb-0001Uw-TM for grub-devel@gnu.org; Thu, 07 Aug 2008 15:13:40 -0400 Received: from [199.232.76.173] (port=40369 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRAvb-0001Um-Qa for grub-devel@gnu.org; Thu, 07 Aug 2008 15:13:39 -0400 Received: from aybabtu.com ([69.60.117.155]:43632) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRAvb-0000kQ-U4 for grub-devel@gnu.org; Thu, 07 Aug 2008 15:13:40 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KRAo5-0004qf-F8 for grub-devel@gnu.org; Thu, 07 Aug 2008 21:05:53 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1KRAuU-0001DZ-JD for grub-devel@gnu.org; Thu, 07 Aug 2008 21:12:30 +0200 Date: Thu, 7 Aug 2008 21:12:30 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080807191230.GB4413@thorin> References: <20080806113530.GA2718@thorin> <20080806195736.GA30755@thorin> <20080807102150.GB23424@thorin> <20080807111714.2b1f36e9@gibibit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080807111714.2b1f36e9@gibibit.com> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] New command checktime X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 19:13:41 -0000 On Thu, Aug 07, 2008 at 11:17:14AM -0700, Colin D Bennett wrote: > I just have a couple of suggestions: > > On Fri, 8 Aug 2008 01:52:07 +0800 > Bean wrote: > > > On Thu, Aug 7, 2008 at 7:19 PM, Bean wrote: > > 1. date [MMDDhhmm[[CC]YY][.ss]] > > > > Set/Display current datetime, to set date, The format is the same as > > the date command, you can also use - or : to seperate the numbers. For > > example: > > > > date 0902 > > Sep, 2. > > > > date 10-05-13-15 > > Oct 5, 13:15 > > I know the reason for using that format is to be compatible with the > Unix 'date' command, but I find it impossible to remember the arcane > format it accepts. We could have its --help include this "[MMDDhhmm[[CC]YY][.ss]]" boilerplate, like with gnu date. IMHO it's an advantage that the input for changing the date is defined simple instead of accepting lots of different layouts. This means less code size, less complexity and also makes the commands more usable in scripts and such. > > 2. crontab min hour day_of_month month day_of_week > > This really doesn't allow you to edit a crontab, does it? If not, is > there a more appropriate name we could use instead of 'crontab'? > Perhaps 'testdate' or something? I think it's good that it mentions crontab, since it basicaly works with that format, but I agree that it isn't consistent with the crontab command. How about something that contains 'crontab' but isn't 'crontab'? Like 'test_crontab', 'crontab_check' or something like this? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."