aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutils/lint/remove_trailing_whitespace.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lint/remove_trailing_whitespace.sh b/utils/lint/remove_trailing_whitespace.sh
index de58dbab7f..6e0c9be093 100755
--- a/utils/lint/remove_trailing_whitespace.sh
+++ b/utils/lint/remove_trailing_whitespace.sh
@@ -3,4 +3,4 @@
# Sample syntax:
# $0 *.cpp
-perl -pi -e "s/\s+\$//" $*
+perl -pi -e 's/\s+$/\n/' $*