qutebrowser/scripts/dev/strip_whitespace.sh
2016-05-18 06:54:14 +02:00

11 lines
232 B
Bash

#!/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/ \+$//' {} +