llvm.org GIT mirror llvm / d5ece81
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 Misha Brukman 11 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
22 # Sample syntax:
33 # $0 *.cpp
44
5 perl -pi -e "s/\s+\$//" $*
5 perl -pi -e 's/\s+$/\n/' $*