1 2 3 4 5 6 7 8 9
BEGIN { print "#include <stdio.h>" print "#include \"funcname1.h\"" print "%%" } /^#/ { next } { print $1 " FUNCNAME_" $2; }