mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
13dd5f564d
are deleting; otherwise, everything ends up on a single line. llvm-svn: 65185
7 lines
132 B
Bash
Executable File
7 lines
132 B
Bash
Executable File
#!/bin/sh
|
|
# Deletes trailing whitespace in-place in the passed-in files.
|
|
# Sample syntax:
|
|
# $0 *.cpp
|
|
|
|
perl -pi -e 's/\s+$/\n/' $*
|