summaryrefslogtreecommitdiff
path: root/style_unify
diff options
context:
space:
mode:
Diffstat (limited to 'style_unify')
-rwxr-xr-xstyle_unify1
1 files changed, 1 insertions, 0 deletions
diff --git a/style_unify b/style_unify
index 4915e63..10bf2b9 100755
--- a/style_unify
+++ b/style_unify
@@ -4,6 +4,7 @@ for i in $file
do
echo $i
astyle --style=linux -s4 -c -s -p -U -H -n $i
+ sed -i 's/[ \t]*$//' $i #remove trailing space
done