Package: cron
Version: 3.0pl1-105
Severity: normal

Hiya,

The crontab command from the cron package seems not to be POSIX
conformant:

$ crontab
crontab: usage error: file name must be specified for replace
[...]
$ POSIXLY_CORRECT=1 crontab
crontab: usage error: file name must be specified for replace
[...]

crontab without argument is meant to replace the user's crontab
with crontab's stdin (in a POSIX crontab).

http://www.opengroup.org/onlinepubs/9699919799/utilities/crontab.html

[...]
SUSv4> SYNOPSIS
SUSv4> 
SUSv4>  crontab [file]
SUSv4> 
SUSv4>  ^[UP] crontab [-e|-l|-r]
[...]
SUSv4>  The new crontab entry can be input by specifying file or
SUSv4>  input from standard input if no file operand is specified
[...]


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages cron depends on:
ii  adduser                       3.110      add and remove users and groups
ii  debianutils                   2.31       Miscellaneous utilities specific t
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libpam0g                      1.0.1-5    Pluggable Authentication Modules l
ii  libselinux1                   2.0.65-5   SELinux shared libraries
ii  lsb-base                      3.2-20     Linux Standard Base 3.2 init scrip

Versions of packages cron recommends:
ii  exim4                         4.69-9     metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.69-9     lightweight Exim MTA (v4) daemon

Versions of packages cron suggests:
ii  anacron                       2.3-13.1   cron-like program that doesn't go 
pn  checksecurity                 <none>     (no description available)
ii  lockfile-progs                0.1.11-0.1 Programs for locking and unlocking
ii  logrotate                     3.7.7-3    Log rotation utility

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to