Add a script to strip trailing whitespace

Obsoletes #1498
This commit is contained in:
Florian Bruhin 2016-05-18 06:37:26 +02:00
parent 0c1e82a103
commit ee579b4bc3
3 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,10 @@
#!/bin/bash
# Strip trailing whitespace from files in this repo
find qutebrowser scripts tests \
-type f \( \
-name '*.py' -o \
-name '*.feature' -o \
-name '*.sh' \
\) -exec sed -i 's/ \+$//' {} +