summaryrefslogtreecommitdiffstats
path: root/indent-all.sh
blob: d49fccba3cda9d8b230f3eb0845f8b6869f1b18b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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