]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow time offsets to be negative, e.g. `at 1530 - 15 minutes`.
authorcracauer <cracauer@FreeBSD.org>
Fri, 5 Oct 2012 17:54:27 +0000 (17:54 +0000)
committercracauer <cracauer@FreeBSD.org>
Fri, 5 Oct 2012 17:54:27 +0000 (17:54 +0000)
commit29b9cf1535a8a73d0b442723dcf36c041ca9c004
tree4e78834580e09313e6abe81ed9be2203d97213f3
parent5beeacda7ab10e02ee85acc8f9c969f9fe5ac581
Allow time offsets to be negative, e.g. `at 1530 - 15 minutes`.

This is useful if you have been given some time for some event in some
format and you want your computer to do something to prepare for it.
Without having to do time arithmetic in a shellscript.

The syntax matches what the at(1) usually used on Linux supports.
usr.bin/at/parsetime.c