Date: Mon, 8 Dec 2003 11:00:29 -0800 From: Wes Peters <wes@softweyr.com> To: Steve Kargl <sgk@troutmask.apl.washington.edu>, freebsd-hackers@freebsd.org Subject: Re: Does indent(1) have a KNF mode? Message-ID: <200312081100.29297.wes@softweyr.com> In-Reply-To: <20031207182539.GA87664@troutmask.apl.washington.edu> References: <20031207182539.GA87664@troutmask.apl.washington.edu>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312081100.29297.wes>
