From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 8 11:29:31 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 5549416A4CE for ; Mon, 8 Dec 2003 11:29:31 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id C397D43D21 for ; Mon, 8 Dec 2003 11:29:27 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) hB8JGP8u098649; Mon, 8 Dec 2003 11:16:25 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)hB8JGPQ8098648; Mon, 8 Dec 2003 11:16:25 -0800 (PST) (envelope-from sgk) Date: Mon, 8 Dec 2003 11:16:25 -0800 From: Steve Kargl To: Wes Peters Message-ID: <20031208191625.GA98250@troutmask.apl.washington.edu> References: <20031207182539.GA87664@troutmask.apl.washington.edu> <200312081100.29297.wes@softweyr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312081100.29297.wes@softweyr.com> User-Agent: Mutt/1.4.1i cc: freebsd-hackers@freebsd.org 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:29:31 -0000 On Mon, Dec 08, 2003 at 11:00:29AM -0800, Wes Peters wrote: > 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. > Bill Fumerola (sp?) sent me an almost identical list. He had -bbo instead of -bbb and he also had -cp33. -- Steve