Bug 102341 - at: Should support -r besides -d
at: Should support -r besides -d
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: at (Show other bugs)
9
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jason Vas Dias
Mike McLean
http://www.unix.org/single_unix_speci...
:
Depends On:
Blocks: 145411 163896
  Show dependency treegraph
 
Reported: 2003-08-13 20:19 EDT by Tobias Burnus
Modified: 2007-04-18 12:56 EDT (History)
0 users

See Also:
Fixed In Version: at-3.1.8-78
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-03 14:33:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch at-3.1.8 (908 bytes, patch)
2003-08-15 08:29 EDT, Tobias Burnus
no flags Details | Diff

  None (edit)
Description Tobias Burnus 2003-08-13 20:19:10 EDT
Description of problem:

The SUSv3 (IEEE Std 1003.1-2003) requires that

"-r Remove the jobs with the specified at_job_id operands that were previously
scheduled by the at utility."
is supported.

Since the LSB claims that -d and -r are equivalent, adding -r support should be
easy: Treat it like -d and add it to the help and manpage.



How reproducible:


Steps to Reproduce:
1.
2.
3.
    
Actual results:


Expected results:


Additional info:
Comment 1 Tobias Burnus 2003-08-15 08:29:24 EDT
Created attachment 93654 [details]
Patch  at-3.1.8

This patch add -r, updates the manpage and adds the line from SuSv3 to the man
page:
   at -r at_job_id ...
Comment 2 Tobias Burnus 2003-10-01 16:42:45 EDT
Even better than my patch is this version:
   http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/at/
it also supports "-t timespec" and "at -l -q queue" which is also required by
POSIX/SUSv3.
Comment 3 Jason Vas Dias 2005-06-03 14:33:46 EDT
Sorry for the delay in getting around to this bug - it slipped
through the cracks somehow.

at already supports the ( -l -q queue ) and ( -t <timespec> )
arguments. 

Now modified to make '-r' a synonym for '-d' as required by the 
specification in Rawhide ( at-3.1.8-78 ) .

Note You need to log in before you can comment on or make changes to this bug.