github.com/phpdave11/gofpdf@v1.4.2/doc/go.awk (about) 1 BEGIN { show = 0 ; print "/*" } 2 3 /^\-/ { trim = 1 ; print "" } 4 5 /^Package/ { show = 1 } 6 7 !NF { trim = 0 } 8 9 trim { sub("^ +", "", $0) } 10 11 show { print $0 } 12 13 END { print "*/\npackage " package_name }