[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New command checktime
From: |
Robert Millan |
Subject: |
Re: [PATCH] New command checktime |
Date: |
Thu, 7 Aug 2008 21:12:30 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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 <address@hidden> wrote:
>
> > On Thu, Aug 7, 2008 at 7:19 PM, Bean <address@hidden> 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."
- [PATCH] New command checktime, Bean, 2008/08/06
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/06
- Re: [PATCH] New command checktime, Bean, 2008/08/06
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/06
- Re: [PATCH] New command checktime, Bean, 2008/08/07
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/07
- Re: [PATCH] New command checktime, Bean, 2008/08/07
- Re: [PATCH] New command checktime, Bean, 2008/08/07
- Re: [PATCH] New command checktime, Colin D Bennett, 2008/08/07
- Re: [PATCH] New command checktime,
Robert Millan <=
- Re: [PATCH] New command checktime, Bean, 2008/08/09
- Re: [PATCH] New command checktime, Isaac Dupree, 2008/08/09
- Re: [PATCH] New command checktime, Bean, 2008/08/09
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/10
- Re: [PATCH] New command checktime, Bean, 2008/08/10
- Re: [PATCH] New command checktime, Isaac Dupree, 2008/08/10
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/10
- Re: [PATCH] New command checktime, Robert Millan, 2008/08/07
Re: [PATCH] New command checktime, Marco Gerards, 2008/08/10