summaryrefslogtreecommitdiffstats
path: root/contrib/amd/m4/rmtspc
blob: 431691d9e4bda8e5cdbf625ae9f7862868e5bf4b (plain)
1
2
3
4
5
6
#!/bin/sh
# remove trailing spaces from C code
#set -x
for i in $*; do
    sed 's/[	 ]*$//g' < $i > $i.tmp_$$ && mv $i.tmp_$$ $i
done
OpenPOWER on IntegriCloud