#!/bin/bash

for i in `find . -name '*.c'` # or whatever other pattern...
do
    cat author.info $i >$i.new && mv $i.new $i
done

#!/bin/bash

for i in `find . -name '*.c' -o -name '*.cpp' -o -name '*.h'`
do
  if ! grep -q "Author:" $i
  then
    cat author.info $i > $i.new && mv $i.new $i
  fi
done

Add .h and .cpp pattern.
Add .h and .cpp pattern.
