NetBSD/usr.bin/indent
rillig a29abb23da indent: fix misleading comment 2023-01-20 00:24:25 +00:00
..
.indent.pro
Makefile
README.md
args.c indent: fix misleading comment 2023-01-20 00:24:25 +00:00
indent.1
indent.c indent: clean up control flow, remove Capsicum 2022-05-09 21:41:49 +00:00
indent.h indent: group global variables related to output control 2022-04-23 06:43:22 +00:00
io.c indent: group global variables related to output control 2022-04-23 06:43:22 +00:00
lexi.c indent: rename parser_state.p_l_follow and paren_level 2022-02-13 12:43:26 +00:00
parse.c indent: remove FreeBSD IDs 2022-04-22 21:21:20 +00:00
pr_comment.c indent: clean up control flow, remove Capsicum 2022-05-09 21:41:49 +00:00

README.md

History

This is NetBSD indent. It originally came from the University of Illinois via some distribution tape for PDP-11 Unix. It has subsequently been hacked upon by James Gosling @ CMU. At some point in the 1970s or even 1980s, it was thought to be "the nicest C pretty printer around". Around 1985, further additions to provide "Kernel Normal Form" were contributed by the folks at Sun Microsystems.

Between 2000 and 2019, FreeBSD maintained the code, adding several features. NetBSD imported these changes on 2019-04-04.

In 2021, indent was updated to handle C99 comments and the code got a major overhaul. Indent got an extensive and systematic test suite, which uncovered many inconsistencies and bugs. Several of these bugs had been introduced by importing the FreeBSD version on 2019-04-04.

References