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