summaryrefslogtreecommitdiff
path: root/indent.sh
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-02-06 19:36:10 -0800
committerPreston Pan <preston@nullring.xyz>2023-02-06 19:36:10 -0800
commit4cb7cbd3734205bb923c65290e73fe47c85f86a4 (patch)
tree6aed241a7dd7f57b7f52e79b38d1eb77742034bb /indent.sh
parent1a4999aa71a2369e86e996e11095e9c2d92e5d84 (diff)
add block structure
Diffstat (limited to 'indent.sh')
-rw-r--r--indent.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/indent.sh b/indent.sh
new file mode 100644
index 0000000..3a70d7f
--- /dev/null
+++ b/indent.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+for f in *.c; do
+ indent "$f"
+done
+
+for f in *.h; do
+ indent "$f"
+done
+rm *.BAK