From owner-freebsd-current Wed Jan 27 23:35:54 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA01279 for freebsd-current-outgoing; Wed, 27 Jan 1999 23:35:54 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA01267 for ; Wed, 27 Jan 1999 23:35:50 -0800 (PST) (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 SAA23794; Thu, 28 Jan 1999 18:05:38 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.2/8.9.0) id SAA08562; Thu, 28 Jan 1999 18:05:38 +1030 (CST) Date: Thu, 28 Jan 1999 18:05:37 +1030 From: Greg Lehey To: Bruce Evans Cc: current@FreeBSD.ORG, peter.jeremy@auss2.alcatel.com.au Subject: indent(1) and style(9) (was: btokup() macro in sys/malloc.h) Message-ID: <19990128180537.B8473@freebie.lemis.com> References: <199901280316.OAA26849@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <199901280316.OAA26849@godzilla.zeta.org.au>; from Bruce Evans on Thu, Jan 28, 1999 at 02:16:25PM +1100 WWW-Home-Page: http://www.lemis.com/~grog 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-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 28 January 1999 at 14:16:25 +1100, Bruce Evans wrote: >> It would be nice if style(9) documented the options to give indent(1) >> to match the `approved' layout convections. (This would reduce the >> effort involved in importing large chunks of code). > > This is impossible, since indent(1) is buggy and out of date with both > KNF and C. Well, you can do a certain amount. In fact, I use GNU indent and achieve a reasonable approximation. It would be nice to import it, but it doesn't comply with style(9) :-) Greg -- 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 freebsd-current" in the body of the message