Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
.indent.pro | H A D | 18-May-2023 | 1.2 KiB | 25 | 22 | |
Makefile | H A D | 13-May-2023 | 265 | 12 | 6 | |
README.md | H A D | 04-Jun-2023 | 932 | 22 | 16 | |
args.c | H A D | 12-Dec-2024 | 9 KiB | 323 | 239 | |
debug.c | H A D | 04-Jan-2025 | 10.1 KiB | 403 | 327 | |
indent.1 | H A D | 09-Jun-2023 | 14.8 KiB | 604 | 603 | |
indent.c | H A D | 07-Jan-2025 | 28.5 KiB | 1,160 | 940 | |
indent.h | H A D | 07-Jan-2025 | 19.3 KiB | 554 | 300 | |
io.c | H A D | 04-Jan-2025 | 10.9 KiB | 452 | 342 | |
lexi.c | H A D | 03-Dec-2023 | 17.7 KiB | 727 | 558 | |
parse.c | H A D | 07-Jan-2025 | 7.2 KiB | 271 | 182 | |
pr_comment.c | H A D | 04-Jan-2025 | 8.6 KiB | 353 | 267 |
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