* To avoid the "invalid option" error on RHEL6 and CentOS6,
modified delete logic to use "atrm" command instead of "at -r".
* Fixed search logic for job_id to perform delete correctly on *BSD and Solaris.
Signed-off-by: Hideki Saito <saito@fgrep.org>
AIX uses -lv options to cat a job (instead of -c for Linux).
AIX uses -r to remove a job.
Linux supports both -r and -d, so use -r since it is what POSIX says.