Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (17 sloc) 0.377 kb
#/bin/bash
CPPFILES=`find . -type f -name '*.cpp'`
HFILES=`find . -type f -name '*.h'`
for FILE in $HFILES
do
if [ -n "$(sed -n "\$p" $FILE)" ]; then
echo "Adding newline to $FILE"
echo "" >> $FILE
fi
done
for FILE in $CPPFILES
do
if [ -n "$(sed -n "\$p" $FILE)" ]; then
echo "Adding newline to $FILE"
echo "" >> $FILE
fi
done
Jump to Line
Something went wrong with that request. Please try again.