Package: cron
Version: 3.0pl1-104
Severity: minor
The manual page reads:
DESCRIPION
...
The value string is not parsed for environmental substitutions, thus lines like
PATH = $HOME/bin:$PATH
SUGGESTION
Instead of hard coding the absolute path names, like:
PATH=/home/foo/bin:/usr/bin/:/bin
Please suggest in the manual, that the tilde(~) character could be used in most
shells:
where the spaces around the equal-sign (=) are optional, and any
subsequent non-leading
spaces in value will be part of the value assigned to name. The
value string may be
placed in quotes (single or double, but matching) to preserve
leading or trailing
blanks. The value string is not parsed for environmental substitutions,
thus lines like
PATH = $HOME/bin:$PATH
will not work as you might expect.
=>
where the spaces around the equal-sign (=) are optional, and any
subsequent non-leading
spaces in value will be part of the value assigned to name. The
value string may be
placed in quotes (single or double, but matching) to preserve
leading or trailing
blanks. The value string is not parsed for environmental substitutions,
thus lines like
PATH = $HOME/bin:$PATH
+ will not work as you might expect. However many shells will treat the
tilde(~) as
+ substiution of $HOME, so you might use:
+
+ SHELL=/bin/bash
+ PATH=~/bin:/usr/bin/:/bin
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash
Versions of packages cron depends on:
ii adduser 3.107 add and remove users and groups
ii debianutils 2.28.4 Miscellaneous utilities specific t
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libpam0g 0.99.7.1-6 Pluggable Authentication Modules l
ii libselinux1 2.0.59-1 SELinux shared libraries
ii lsb-base 3.2-9 Linux Standard Base 3.2 init scrip
Versions of packages cron recommends:
ii exim4 4.69-2 meta-package to ease Exim MTA (v4)
ii exim4-daemon-light [mail-tran 4.69-2+b1 lightweight Exim MTA (v4) daemon
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]