Christos Zoulas wrote: > In article <20210225070357.a0c7bf...@cvs.netbsd.org>, > Simon Burge <source-changes-d@NetBSD.org> 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.