In article <firstname.lastname@example.org>,
Steve Greenland <email@example.com> wrote:
>On 05-Dec-1997 10:32:37, Philip Hands <firstname.lastname@example.org> wrote:
>> The fact that the three lines added here ever get seen in the output of
>> crontab -l
>> is a bug IMO:
>Actually, I got a better understanding of why and where that header
>was being added, and I was going to make crontab -l NOT include the
>header on the next release.
>However, the existence of scripts that do "crontab -l |tail +4" make
>the removal a problem as well.
Especially since that line is usually used in the prerm script, so
an upgrade won't help.. It might be worth it to locate all the packages
that do this, and file a bug report against them. You should mention that
tail +4 is dangerous since the behaviour of crontab -l might change , and
recommend something like:
crontab -l | sed -e '/^#.*\(DO NOT EDIT\|Cron version\|installed on\).*$/d'
instead. Then wait for Debian 2.2 or so, so you can be reasonably sure
everybody has upgraded all those packages at least once and release
a new cron..
Miquel van Smoorenburg | Studying to be a technomage <*>
email@example.com | "May you live in interesting times"
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .
- Re: crontab
- From: Steve Greenland <email@example.com>