From owner-freebsd-hackers Tue Oct 22 15:23:13 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA09847 for hackers-outgoing; Tue, 22 Oct 1996 15:23:13 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id PAA09835 for ; Tue, 22 Oct 1996 15:22:55 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id AAA28962; Wed, 23 Oct 1996 00:21:35 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id AAA06248; Wed, 23 Oct 1996 00:21:35 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.6/8.6.9) id AAA20303; Wed, 23 Oct 1996 00:04:41 +0200 (MET DST) From: J Wunsch Message-Id: <199610222204.AAA20303@uriah.heep.sax.de> Subject: Re: getopt(1) man page woodoo To: freebsd-hackers@freebsd.org (FreeBSD hackers) Date: Wed, 23 Oct 1996 00:04:41 +0200 (MET DST) Cc: fenner@parc.xerox.com (Bill Fenner), kuku@gilberto.physik.rwth-aachen.de Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <96Oct22.143623pdt.177529@crevenia.parc.xerox.com> from Bill Fenner at "Oct 22, 96 02:36:16 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Bill Fenner wrote: > I should have looked at the man page before I replied; the rest of the > page is in andoc form which is why .B doesn't work. Try > > .Fl - > > for the --'s, ... I decided to use .Ql instead. It makes the double dash more obvious when reading through the text, and after all, they are not really .Flags to the getopt program at all (but to the consumer of the produced string, presumably a shell). I've also corrected the other usage errors of mdoc. Seems the author of that page did a quick hack in converting it from -man to -mdoc format, without taking the time to understand the mdoc stuff... -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)