diff options
Diffstat (limited to 'util/whitespace.sh')
| -rwxr-xr-x | util/whitespace.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/whitespace.sh b/util/whitespace.sh new file mode 100755 index 0000000..f661aa3 --- /dev/null +++ b/util/whitespace.sh @@ -0,0 +1,3 @@ +#!/bin/sh +find . \( -iname "*.h" -o -iname "*.c" \) -exec sed -i .bak "s/[ ]*$//" {} \; +find . -iname "*.bak" -exec rm {} \; |
