1#!/bin/bash 2 3for f in *.cpp *.h 4do 5 echo "// $f" 6 cat "$f" 7 echo 8 echo 9done | grep -v '^/\*' | grep -v '^ \*' | grep -v '^ \*/' | grep -v '_H$' 10