• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.indent.proD07-Feb-20251.2 KiB2522

MakefileD07-Feb-2025265 126

README.mdD07-Feb-2025932 2216

args.cD07-Feb-20259 KiB323239

debug.cD04-Jan-202510.1 KiB419344

indent.1D07-Feb-202514.8 KiB604603

indent.cD07-Feb-202528.5 KiB1,171953

indent.hD07-Feb-202519.3 KiB564311

io.cD07-Feb-202510.9 KiB458348

lexi.cD07-Feb-202517.7 KiB727558

parse.cD07-Feb-20257.2 KiB260182

pr_comment.cD07-Feb-20258.6 KiB353267

README.md

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