summaryrefslogtreecommitdiffstats
path: root/src/script/strip_trailing_whitespace.sh
blob: 7fa8060a6ef7233ace6ecc8bdca79cd4cde32ada (plain)
1
2
3
4
#!/bin/sh

sed -i 's/[ \t]*$//' $1
sed -i 's/^        /\t/' $1