9 lines
138 B
Bash
Executable File
9 lines
138 B
Bash
Executable File
#!/bin/sh
|
|
cd `dirname $0`/../src
|
|
for i in *.cpp *.hpp
|
|
do
|
|
cp $i $i~ || exit 1
|
|
expand $i~ |sed -e 's, *$,,'|uniq > $i
|
|
rm -f $i~
|
|
done
|