From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp1.rz.uni-karlsruhe.de (Debian-exim@smtp1.rz.uni-karlsruhe.de [129.13.185.217]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id o83MgBYV028624 for ; Fri, 3 Sep 2010 18:42:12 -0400 (EDT) Received: from hekate.usta.de (asta-nat.asta.uni-karlsruhe.de [172.22.63.82]) by smtp1.rz.uni-karlsruhe.de with esmtp (Exim 4.63 #1) id 1OrexU-0007d5-Oa; Sat, 04 Sep 2010 00:42:08 +0200 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.71) (envelope-from ) id 1OrexU-0005jv-Ng for discuss@mdocml.bsd.lv; Sat, 04 Sep 2010 00:42:08 +0200 Received: from iris.usta.de ([172.24.96.5] helo=usta.de) by donnerwolke.usta.de with esmtp (Exim 4.69) (envelope-from ) id 1OrexU-0002Ua-Mp for discuss@mdocml.bsd.lv; Sat, 04 Sep 2010 00:42:08 +0200 Received: from schwarze by usta.de with local (Exim 4.71) (envelope-from ) id 1OrexU-0006cf-Li for discuss@mdocml.bsd.lv; Sat, 04 Sep 2010 00:42:08 +0200 Date: Sat, 4 Sep 2010 00:42:08 +0200 From: Ingo Schwarze To: discuss@mdocml.bsd.lv Subject: Re: EXIT STATUS for section 6 Message-ID: <20100903224208.GA5602@iris.usta.de> References: <20100903125743.GG9076@bramka.kerhand.co.uk> <20100903162905.GF6084@danbala.tuwien.ac.at> <20100903192831.GB18815@bramka.kerhand.co.uk> X-Mailinglist: mdocml-discuss Reply-To: discuss@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100903192831.GB18815@bramka.kerhand.co.uk> User-Agent: Mutt/1.5.20 (2009-06-14) Hi Jason, hi Thomas, Jason McIntyre wrote on Fri, Sep 03, 2010 at 08:28:07PM +0100: > On Fri, Sep 03, 2010 at 06:29:05PM +0200, Thomas Klausner wrote: > > On Fri, Sep 03, 2010 at 01:57:19PM +0100, Jason McIntyre wrote: >>> the templates say EXIT STATUS is for sections 1 and 8. the descriptions >>> of EXIT STATUS say it is for sections 1, 6, and 8. which is it? >> Section 6 are games, so they could have an EXIT STATUS. > could have, yeah. but don't. For some cases, that's a documentation bug. Take fortune(6) -m. The EXIT STATUS tells whether there were matches, which ought to be documented. Or try /usr/games/banner -w xxx BSD ; echo $? >>> openbsd has no exit status info in any of its section 6 pages. ok? >> Well, I thought you're only introducing EXIT STATUS in the OpenBSD man >> pages? :) > yeah. but i downcased EXIT STATUS - i meant none of the section 6pages > have any info about what they return. Some should. NB: I don't blame you that they don't. But it's a task to read the program sources and find out whether each one should. >> Anyway, i don't see any EXIT STATUS in man6/* on NetBSD either. >> >> I think we should allow it for section 6 as well, but I don't care >> much either way. > right, so which way do we fall. section 6 ok or not? i don't care. I'm clearly with Thomas here. EXIT STATUS in section 6 is needed. Yours, Ingo -- To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv