Does indent(1) have a KNF mode?

Steve Kargl sgk at troutmask.apl.washington.edu
Mon Dec 8 11:29:31 PST 2003


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


More information about the freebsd-hackers mailing list