diff options
-rwxr-xr-x | utils/lint/remove_trailing_whitespace.sh | 2 |
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/' $* |