aboutsummaryrefslogtreecommitdiff
path: root/contrib/cleanup/whitespace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/cleanup/whitespace.sh')
-rw-r--r--contrib/cleanup/whitespace.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/cleanup/whitespace.sh b/contrib/cleanup/whitespace.sh
new file mode 100644
index 00000000000..a351e25359b
--- /dev/null
+++ b/contrib/cleanup/whitespace.sh
@@ -0,0 +1,2 @@
+# Be sure to specify files instead of * when running the script.
+perl -p -i -e "s/ +$//g" *