aboutsummaryrefslogtreecommitdiffstats
path: root/indent.sh
diff options
context:
space:
mode:
Diffstat (limited to 'indent.sh')
-rwxr-xr-xindent.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/indent.sh b/indent.sh
new file mode 100755
index 0000000..30dd2fa
--- /dev/null
+++ b/indent.sh
@@ -0,0 +1,7 @@
+#! /bin/bash
+
+# -kr Use Kernighan & Ritchie coding style.
+# -l150 Set maximum line length for non-comment lines to 150.
+
+indent -kr -l150 *.c *.h
+