xref: /netbsd-src/usr.bin/indent/README.md (revision 67b34aa43024c541e18b324aeb51027990b903c8)
1cdab65f4Srillig# History
2cdab65f4Srillig
3cdab65f4SrilligThis is NetBSD indent.  It originally came from the University of Illinois via
4cdab65f4Srilligsome distribution tape for PDP-11 Unix.  It has subsequently been hacked upon
5cdab65f4Srilligby James Gosling @ CMU.  At some point in the 1970s or even 1980s, it was
6cdab65f4Srilligthought to be "the nicest C pretty printer around".  Around 1985, further
7cdab65f4Srilligadditions to provide "Kernel Normal Form" were contributed by the folks at Sun
8cdab65f4SrilligMicrosystems.
9cdab65f4Srillig
10cdab65f4SrilligBetween 2000 and 2019, FreeBSD maintained the code, adding several features.
11*ff2a1920SrilligNetBSD imported these changes on 2019-04-04.
12cdab65f4Srillig
13*ff2a1920SrilligIn 2021, indent was updated to handle C99 comments and the code got a major
14*ff2a1920Srilligoverhaul.  Indent got an extensive and systematic test suite, which uncovered
15*ff2a1920Srilligmany inconsistencies and bugs.  Several of these bugs had been introduced by
16*ff2a1920Srilligimporting the FreeBSD version on 2019-04-04.
17cdab65f4Srillig
18cdab65f4Srillig# References
19cdab65f4Srillig
20cdab65f4Srillig* https://github.com/freebsd/freebsd-src/tree/main/usr.bin/indent
21cdab65f4Srillig* https://github.com/pstef/freebsd_indent
22