Revision 9648f1b4

b/autotools/check-python-code
21 21
let problems=0
22 22

  
23 23
for script; do
24
  if grep -H -F $'\t' "$script"; then
24
  if grep -n -H -F $'\t' "$script"; then
25 25
    let ++problems
26 26
    echo "Found tabs in $script" >&2
27 27
  fi
28 28

  
29
  if grep -H -E '[[:space:]]$' "$script"; then
29
  if grep -n -H -E '[[:space:]]$' "$script"; then
30 30
    let ++problems
31 31
    echo "Found end-of-line-whitespace in $script" >&2
32 32
  fi

Also available in: Unified diff