Does indent(1) have a KNF mode?

Wes Peters wes at softweyr.com
Mon Dec 8 11:00:47 PST 2003


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 at softweyr.com




More information about the freebsd-hackers mailing list