freebsd-dev/contrib/amd/m4/rmtspc
2003-09-02 15:27:38 +00:00

7 lines
134 B
Bash
Executable File

#!/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