Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: othersrc/usr.bin/sleepto



Christos Zoulas wrote:

> In article <20210225070357.A0C7BFA96%cvs.NetBSD.org@localhost>,
> Simon Burge <source-changes-d%NetBSD.org@localhost> wrote:
> >-=-=-=-=-=-
> >
> >Module Name:	othersrc
> >Committed By:	simonb
> >Date:		Thu Feb 25 07:03:57 UTC 2021
> >
> >Added Files:
> >	othersrc/usr.bin/sleepto: Makefile parsetime.c parsetime.h sleepto.c
> >	    tzfile.h
> >
> >Log Message:
> >Jared's sleepto command from Dec 2007 - sleep to an at(1) style time
> >specification.
>
> We do have parsedate(3) in libutil which seems to do a lot more.

Cool, I will have a look at that.  Thinking about adding this to our
existing sleep(1), so anything in existing libraries that makes this
(much!) easier is welcome.

And will look at %jd and intmax_t too (ta).

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index