mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-20 09:24:58 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65185 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4c4c952543
commit
d5ece81cc7
@ -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