summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xindent-all.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/indent-all.sh b/indent-all.sh
new file mode 100755
index 0000000..d49fccb
--- /dev/null
+++ b/indent-all.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+INDENT=`cat NOTES`
+
+echo "using command: $INDENT <file>"
+
+indent_files() {
+ echo $INDENT $1
+ $INDENT $1
+}
+
+
+indent_files libcsoap/*.c
+indent_files libcsoap/*.h
+indent_files nanohttp/*.c
+indent_files nanohttp/*.h
+indent_files examples/csoap/*.c
+