Erweiterung von Kurt Jungs gopdf, das leider nicht weiterentwickelt wird https://github.com/jung-kurt/gofpdf
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
197 B

BEGIN { show = 0 ; print "/*" }
/^\-/ { trim = 1 ; print "" }
/^Package/ { show = 1 }
!NF { trim = 0 }
trim { sub("^ +", "", $0) }
show { print $0 }
END { print "*/\npackage " package_name }