From owner-cvs-all Sat Jun 26 17:33:26 1999 Delivered-To: cvs-all@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 3070914CA9; Sat, 26 Jun 1999 17:33:17 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id KAA11001; Sun, 27 Jun 1999 10:03:12 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA81967; Sun, 27 Jun 1999 10:03:10 +0930 (CST) Date: Sun, 27 Jun 1999 10:03:10 +0930 From: Greg Lehey To: Hellmuth Michaelis Cc: Warner Losh , thyerm@camtech.net.au, cracauer@cons.org, bde@zeta.org.au, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: style(1) man-page !? (was Re: cvs commit: src/usr.sbin/i4b/isdnd main.c ...) Message-ID: <19990627100310.S427@freebie.lemis.com> References: <199906260604.AAA00680@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Hellmuth Michaelis on Sat, Jun 26, 1999 at 10:21:59AM +0200 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Saturday, 26 June 1999 at 10:21:59 +0200, Hellmuth Michaelis wrote: > > To get this to a productive end, i' willing to start to write a man-page > to try to describe FreeBSD's preferred getopt style. > > What should its name be, style(1) ? There used to be a program style(1). It was for a very different purpose. I'm attaching the page from 2.11BSD. Considering this is a programming thing, I'd think that style(3) would make more sense. Greg STYLE(1) STYLE(1) NAME style - analyze surface characteristics of a document SYNOPSIS style [ -ml ] [ -mm ] [ -a ] [ -e ] [ -l num ] [ -r num ] [ -p ] [ -P ] file ... DESCRIPTION Style analyzes the surface characteristics of the writing style of a document. It reports on readability, sentence length and structure, word length and usage, verb type, and sentence openers. Because style runs deroff before looking at the text, formatting header files should be included as part of the input. The default macro package -ms may be overridden with the flag -mm. The flag -ml, which causes deroff to skip lists, should be used if the document contains many lists of non-sentences. The other options are used to locate sentences with certain charac- teristics. -a print all sentences with their length and readabil- ity index. -e print all sentences that begin with an expletive. -p print all sentences that contain a passive verb. -lnum print all sentences longer than num. -rnum print all sentences whose readability index is greater than num. -P print parts of speech of the words in the document. SEE ALSO deroff(1), diction(1) BUGS Use of non-standard formatting macros may cause incorrect sentence breaks. -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message