summaryrefslogtreecommitdiffstats
path: root/indent-all.sh
diff options
context:
space:
mode:
authorGravatar snowdrop2006-01-11 10:55:18 +0000
committerGravatar snowdrop2006-01-11 10:55:18 +0000
commit4088eae7d38124978cf01eaf4bfe2d6aab3a42fd (patch)
tree15b78782973339855c8b271681147b86012aaa1d /indent-all.sh
parentfc3ecf82c3d0f8037e9130655128564de5d3c158 (diff)
downloadcsoap-4088eae7d38124978cf01eaf4bfe2d6aab3a42fd.tar.gz
csoap-4088eae7d38124978cf01eaf4bfe2d6aab3a42fd.tar.bz2
imitial import
Diffstat (limited to 'indent-all.sh')
-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
+