mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Keep the newline character at the end of the lines whose trailing whitespace we
are deleting; otherwise, everything ends up on a single line. llvm-svn: 65185
This commit is contained in:
parent
9d4bf3a090
commit
13dd5f564d
@ -3,4 +3,4 @@
|
|||||||
# Sample syntax:
|
# Sample syntax:
|
||||||
# $0 *.cpp
|
# $0 *.cpp
|
||||||
|
|
||||||
perl -pi -e "s/\s+\$//" $*
|
perl -pi -e 's/\s+$/\n/' $*
|
||||||
|
Loading…
Reference in New Issue
Block a user