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