Re: CVS commit: src/usr.bin/at

2021-04-02 Thread Simon Burge
Robert Elz wrote:

> Date:Fri, 2 Apr 2021 06:31:53 +
> From:"Simon Burge" 
> Message-ID:  <20210402063153.773c7f...@cvs.netbsd.org>
>
>   | Add an XXX reminder to convert at(1) to use parsedate(3) in .
>
> If that's intended as an optional facility (at -d ... or something),
> then fine, but please don't make parsedate the standard way to input
> at dates (just as it isn't the standard way to set the date using date(1),
> it is way too fragile and cantankerous for something that should be reliable.

That's good to know about parsedate(3).  I hadn't considered that what
looked more flexible could also be fragile and cantankerous :).  I'll
revert that comment.

Cheers,
Simon.


Re: CVS commit: src/usr.bin/at

2021-04-02 Thread Robert Elz
Date:Fri, 2 Apr 2021 06:31:53 +
From:"Simon Burge" 
Message-ID:  <20210402063153.773c7f...@cvs.netbsd.org>

  | Add an XXX reminder to convert at(1) to use parsedate(3) in .

If that's intended as an optional facility (at -d ... or something),
then fine, but please don't make parsedate the standard way to input
at dates (just as it isn't the standard way to set the date using date(1),
it is way too fragile and cantankerous for something that should be reliable.

kre