From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 8 11:00:47 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3449216A4CF for ; Mon, 8 Dec 2003 11:00:47 -0800 (PST) Received: from smtp.omnis.com (smtp.omnis.com [216.239.128.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 109DB43FEC for ; Mon, 8 Dec 2003 11:00:45 -0800 (PST) (envelope-from wes@softweyr.com) Received: from salty.rapid.stbernard.com (corp-2.ipinc.com [199.245.188.2]) by smtp-relay.omnis.com (Postfix) with ESMTP id 2CF4A72E20; Mon, 8 Dec 2003 11:00:44 -0800 (PST) From: Wes Peters Organization: Softweyr.com To: Steve Kargl , freebsd-hackers@freebsd.org Date: Mon, 8 Dec 2003 11:00:29 -0800 User-Agent: KMail/1.5.2 References: <20031207182539.GA87664@troutmask.apl.washington.edu> In-Reply-To: <20031207182539.GA87664@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312081100.29297.wes@softweyr.com> Subject: Re: Does indent(1) have a KNF mode? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2003 19:00:47 -0000 On Sunday 07 December 2003 10:25, Steve Kargl wrote: > Does indent(1) have a KNF mode? If not, > does anyone have/know a set of command > line switches that best approximates KNF? No, but it probably should have. Somebody once suggested several years ago the following options gave the closest appromixation of knf: -nbad -nbap -bbb -nbc -br -brs -c33 -cd33 -cdb -ce -ci4 -cli0 -di16 -fc1 -fca -hnl -i8 -ip4 -l79 -lp -npcs -nprs -psl -saf -sai -saw -sc -nsob -nss -ts8 A search of the archives for a few of those options may turn up the original. If you'd like to conjure up a patch to add a knf mode, I'm happy to test and commit it. -- "Where am I, and what am I doing in this handbasket?" Wes Peters wes@softweyr.com