NetBSD/dist/am-utils/m4/rmtspc

7 lines
134 B
Plaintext
Raw Normal View History

2003-03-09 04:12:05 +03:00
#!/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