2 NOTICE_HEADER
="/* LICENSE NOTICE"
4 for file in $
(find -name *.cpp
-o -name *.h
); do
5 if ! grep -q "$NOTICE_HEADER" "$file"; then
6 echo "$NOTICE_HEADER" > $TMPFILE
7 cat COPYING.HEADER
>> $TMPFILE
9 cat "$file" >> $TMPFILE
10 cat $TMPFILE > "$file"