aboutsummaryrefslogtreecommitdiff
path: root/cs1670_reformat_all
diff options
context:
space:
mode:
authornthnluu <nate1299@me.com>2024-01-28 21:20:27 -0500
committernthnluu <nate1299@me.com>2024-01-28 21:20:27 -0500
commitc63f340d90800895f007de64b7d2d14624263331 (patch)
tree2c0849fa597dd6da831c8707b6f2603403778d7b /cs1670_reformat_all
Created student weenix repository
Diffstat (limited to 'cs1670_reformat_all')
-rw-r--r--cs1670_reformat_all4
1 files changed, 4 insertions, 0 deletions
diff --git a/cs1670_reformat_all b/cs1670_reformat_all
new file mode 100644
index 0000000..d10f985
--- /dev/null
+++ b/cs1670_reformat_all
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+echo "reformatting all *.c *.h files"
+./cs1670_reformat $(find -regex '.*/.*\.\(c\|h\)$')