diff options
-rw-r--r-- | software/c.page | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/software/c.page b/software/c.page index 7ebe3c1..a0cb064 100644 --- a/software/c.page +++ b/software/c.page @@ -62,3 +62,11 @@ Zed Shaw Notes * testing: http://c.learncodethehardway.org/book/ex30.html * debug macros: http://c.learncodethehardway.org/book/ex20.html +Auto-Indent Styling +--------------------- + +Via [riolet](https://github.com/riolet/WAFer), this one-liner will auto-indent +files:: + + find . \( -name '*.c' -o -name '*.h' \) -exec indent --no-tabs --linux-style --line-length 90 --indent-level 4 -bli0 \{\} \; + |