Package: at
Version: 3.1.10.2
Severity: wishlist

At should be more flexible. Just use the date libraries instead of
your own parser.
$ at -v 'now + 5 years + 11 months'
syntax error. Last token seen: +
Garbled time
$ date -d 'now + 5 years + 11 months'
Fri Oct 17 03:53:15 CST 2014
However to get at to accept such a date, one needs:
$ at -v $(date --rfc-3339=date -d 'now + 5 years + 11 months')
Fri Oct 17 03:56:00 2014
warning: commands will be executed using /bin/sh

If at would use the same library as date -d, you could 1. parse lots
more types of dates. 2. Eliminate maintenance of duplicate code.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to