diff options
Diffstat (limited to 'src/script/strip_trailing_whitespace.sh')
-rwxr-xr-x | src/script/strip_trailing_whitespace.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/strip_trailing_whitespace.sh b/src/script/strip_trailing_whitespace.sh new file mode 100755 index 00000000..7fa8060a --- /dev/null +++ b/src/script/strip_trailing_whitespace.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +sed -i 's/[ \t]*$//' $1 +sed -i 's/^ /\t/' $1 |