summaryrefslogtreecommitdiff
path: root/scripts/dev/strip_whitespace.sh
blob: ee14278e325be970bddfc572845fbd07f3b70f53 (plain)
1
2
3
4
5
6
7
8
9
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/ \+$//' {} +