Trunk is now 3.7.0svn
[oota-llvm.git] / utils / lint / remove_trailing_whitespace.sh
index de58dbab7fcf72b0746a141ca0004446a6df7f0b..6e0c9be0932b371e34325591094726e43524a404 100755 (executable)
@@ -3,4 +3,4 @@
 # Sample syntax:
 #   $0 *.cpp
 
-perl -pi -e "s/\s+\$//" $*
+perl -pi -e 's/\s+$/\n/' $*