Mercurial > hg > CbC > CbC_llvm
view utils/lint/remove_trailing_whitespace.sh @ 171:66f3bfe93da9
git version 2c4ca6832fa6b306ee6a7010bfb80a3f2596f824
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:07:02 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
#!/bin/sh # Deletes trailing whitespace in-place in the passed-in files. # Sample syntax: # $0 *.cpp perl -pi -e 's/\s+$/\n/' $*