Bug#805602: at doesn't understand "at now + 1 second" etc.

2019-07-16 Thread Jose M Calhariz

Do you still interested in this bug?  I would well come a patch on how
to handle seconds in the input.  I am prepaeing a new release of at
and would like to add this feature.

Kind regards
Jose M Calhariz


-- 
--
Para que ocorra um tiro a queima roupa é necessário que a vítima esteja vestida?


signature.asc
Description: PGP signature


Bug#805602: at doesn't understand "at now + 1 second" etc.

2015-11-19 Thread Andrey Utkin
Package: at
Version: at-3.1.16-r1 (gentoo), 3.1.14-1ubuntu1


 $ echo echo | at now + 1 minute  # works
warning: commands will be executed using /bin/sh
job 5 at Fri Nov 20 02:24:00 2015
[OK]
02:23j@acer ~
 $ echo echo | at now + 1 second
syntax error. Last token seen: s
Garbled time
[ERR]
02:23j@acer ~
 $ echo echo | at now + 1 seconds
syntax error. Last token seen: s
Garbled time
[ERR]
02:23j@acer ~
 $ echo echo | at now + 1 s
syntax error. Last token seen: s
Garbled time
[ERR]
02:23j@acer ~
 $ echo echo | at now + 1
syntax error. Last token seen: 1
Garbled time
[ERR]
02:23j@acer ~
 $


Tested on Gentoo (up-to-date) and Ubuntu Trusty.
Looks "now + N second" format is not supported.

-- 
OpenPGP usage is appreciated (it also helps your letter to bypass spam
filters). To email me with encryption easily, go
https://encrypt.to/0xC6FCDB11



signature.asc
Description: OpenPGP digital signature