Sign in
swiftshader
/
SwiftShader
/
c5e68abdea9e8763d31cad7e6594d1db42ad8a1d
/
.
/
third_party
/
LLVM
/
utils
/
lint
/
remove_trailing_whitespace.sh
blob: 6e0c9be0932b371e34325591094726e43524a404 [
file
] [
log
] [
blame
]
#!/bin/sh
# Deletes trailing whitespace in-place in the passed-in files.
# Sample syntax:
# $0 *.cpp
perl
-
pi
-
e
's/\s+$/\n/'
$
*