summaryrefslogtreecommitdiff
path: root/doc/go.awk
blob: a32536288ab6d3c285141e1ce5903d0430dc7871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BEGIN { 
	show = 0
	print "/*" 
}

/^\-/ { 
	trim = 1 
	print ""
}

/^Package/ { show = 1 }

!NF { trim = 0 }

trim { sub("^ +", "", $0) }

show { print $0 }

END { print "*/\npackage gofpdf" }