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