Debian bug report logs - #1736
`atrun' man page: -l is optional

Package: at; Reported by: sgk@sgk.tiac.net; Done: Ian Jackson <ian@chiark.chu.cam.ac.uk>.

Message received at debian-bugs-done:


From chiark.chu.cam.ac.uk!ian Sat Oct 28 19:15:49 1995
Return-Path: <ian@chiark.chu.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t9NHo-000DcxC; Sat, 28 Oct 95 19:15 PDT
Received: from artemis.chu.cam.ac.uk by pixar.com with SMTP id AA11805
  (5.67b/IDA-1.5 for debian-bugs-done-pipe@mongo.pixar.com); Sat, 28 Oct 1995 19:15:16 -0700
Received: from chiark.chu.cam.ac.uk by artemis.chu.cam.ac.uk with smtp
	(Smail3.1.29.1 #33) id m0t9NHg-0007uQC; Sun, 29 Oct 95 02:15 GMT
Received: by chiark.chu.cam.ac.uk
	id m0t9NHb-0002bdC
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Sun, 29 Oct 95 02:15 GMT
Message-Id: <m0t9NHb-0002bdC@chiark.chu.cam.ac.uk>
Date: Sun, 29 Oct 95 02:15 GMT
From: Ian Jackson <ian@chiark.chu.cam.ac.uk>
To: "Susan G. Kleinmann" <sgk@soos.tiac.net>,
        Debian bugs acknowledgements <debian-bugs-done@pixar.com>
Subject: Re: Bug#1736: `atrun' man page: -l is optional 
In-Reply-To: <199510232359.TAA04452@soos.tiac.net>
References: <m0t7Vxb-0002bIC@chiark.chu.cam.ac.uk>
	<199510232359.TAA04452@soos.tiac.net>

Susan G. Kleinmann writes ("Re: Bug#1736: `atrun' man page: -l is optional "):
> > Susan G. Kleinmann writes ("Bug#1736: `atrun' man page: -l is optional"):
> > > Pacakage: at
> > > Version: 2.8a-2
> > > 
> > > In atrun's manpage, the SYNOPSIS line reads:
> > >     atrun [-l load_avg] [-d]
> > > 
> > > I believe it should read:
> > >     atrun [[-l] load_avg] [-d]
> > 
> 
> > Ian Jackson writes:
> > Does this really strike you as a documentation rather than an
> > implementation bug ?  (I haven't checked yet whether I can see it in
> > the code.)
> > 
> > It seems to me that the correct thing to do here would be to change
> > the code so that the -l was required, like the manpage says.
> > 
> > I see that I'll have to modify the default crontab if I do this, as
> > I've taken advantage of this bug there.  Hmm.
> > 
> > Ian.
> > 
> 
> Well, I honestly don't know enough to know what kind of bug it is.
> I had just noticed an inconsistency between the default crontab and the man
> page; I was kvetching about my confusion to someone much more experienced
> (but 25 years younger) than I, and it was he who told me his opinion that 
> the problem was the lack of a set of brackets around the -l flag.  

I looked at the code in atrun and it turns out that it is interpreting
 at -d 0.5
as
 at -d
(ignoring the 0.5 completely).

This is a bug in the package, which I've now fixed.  The fact that the
crontab contained `at -d 0.5' was another bug, which I've also fixed.

There is nothing wrong with the manual :-).

Thanks for the report, which I'm closing now.

Ian.

Notification sent to sgk@sgk.tiac.net:
Bug acknowledged by developer. Full text available.
Reply sent to Ian Jackson <ian@chiark.chu.cam.ac.uk>:
You have taken responsibility. Full text available.
Bug assigned to package `at'. Request was from Ian Jackson <ian@chiark.chu.cam.ac.uk> to debian-bugs-request@pixar.com. Full text available.

Message received at debian-bugs:


From chiark.chu.cam.ac.uk!ian Mon Oct 23 16:07:43 1995
Return-Path: <ian@chiark.chu.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t7Vy2-0005hPC; Mon, 23 Oct 95 16:07 PDT
Received: from artemis.chu.cam.ac.uk by pixar.com with SMTP id AA26498
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 23 Oct 1995 16:07:15 -0700
Received: from chiark.chu.cam.ac.uk by artemis.chu.cam.ac.uk with smtp
	(Smail3.1.29.1 #33) id m0t7Vxq-0007uaC; Mon, 23 Oct 95 23:07 GMT
Received: by chiark.chu.cam.ac.uk
	id m0t7Vxb-0002bIC
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Mon, 23 Oct 95 23:07 GMT
Message-Id: <m0t7Vxb-0002bIC@chiark.chu.cam.ac.uk>
Date: Mon, 23 Oct 95 23:07 GMT
From: Ian Jackson <ian@chiark.chu.cam.ac.uk>
To: sgk@sgk.tiac.net, debian-bugs@Pixar.com
Subject: Re: Bug#1736: `atrun' man page: -l is optional

Susan G. Kleinmann writes ("Bug#1736: `atrun' man page: -l is optional"):
> Pacakage: at
> Version: 2.8a-2
> 
> In atrun's manpage, the SYNOPSIS line reads:
>     atrun [-l load_avg] [-d]
> 
> I believe it should read:
>     atrun [[-l] load_avg] [-d]

Does this really strike you as a documentation rather than an
implementation bug ?  (I haven't checked yet whether I can see it in
the code.)

It seems to me that the correct thing to do here would be to change
the code so that the -l was required, like the manpage says.

I see that I'll have to modify the default crontab if I do this, as
I've taken advantage of this bug there.  Hmm.

Ian.

Acknowledgement sent to Ian Jackson <ian@chiark.chu.cam.ac.uk>:
Extra info received and forwarded. Full text available.
Information forwarded to debian-devel@pixar.com:
Bug#1736. Full text available.

Message received at debian-bugs:


From soos.tiac.net!sgk Mon Oct 23 04:46:33 1995
Return-Path: <sgk@soos.tiac.net>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0t7LKr-0006F3C; Mon, 23 Oct 95 04:46 PDT
Received: from soos.tiac.net (sgk.tiac.net) by pixar.com with SMTP id AA20166
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Mon, 23 Oct 1995 04:45:55 -0700
Received: from localhost (sgk@localhost [127.0.0.1]) by soos.tiac.net (8.6.12/8.6.12) with ESMTP id HAA00446 for <debian-bugs@pixar.com>; Mon, 23 Oct 1995 07:48:22 -0400
Message-Id: <199510231148.HAA00446@soos.tiac.net>
Reply-To: sgk@sgk.tiac.net
To: debian-bugs@pixar.com
Subject: `atrun' man page: -l is optional
Date: Mon, 23 Oct 1995 07:48:22 -0400
From: "Susan G. Kleinmann" <sgk@soos.tiac.net>

Pacakage: at
Version:  2.8a-2

In atrun's manpage, the SYNOPSIS line reads:
    atrun [-l load_avg] [-d]

I believe it should read:
    atrun [[-l] load_avg] [-d]

I am using dpkg 1.0.3-0, kernel 1.2.13-4, and libc 4.6.27-6.

Susan Kleinmann
sgk@sgk.tiac.net

Acknowledgement sent to sgk@sgk.tiac.net:
New bug report received and forwarded.

Your message didn't have a Package: line at the start (in the pseudo-header following the real mail header), or didn't have a psuedo-header at all.

This makes it much harder for us to categorise and deal with your problem report; please ensure that you say which package(s) and version(s) the problem is with next time. Some time in the future the problem reports system may start rejecting such messages.

Full text available.


Report forwarded to debian-devel@pixar.com:
Bug#1736. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov