gliv-1.6
[gliv.git] / tools / help2man.awk
blob57b8ea484df2fed16678b54cb8049662ac43b41f
1 /~+/ {
2 if (started)
3 # The end.
4 exit
6 # The beginning.
7 started = 1
8 getline
11 /.*: .*/ { # A keyboard accelerator line.
12 if (started) {
13 print
14 print ".br"
18 $0 == "" {
19 if (started) {
20 # End of keyboard accelerators.
21 misc = 1
22 RS = "\n\n"
23 getline
24 print ""
29 if (misc) {
30 gsub(/(\n| )/, " ")
31 print
32 print ".br\n"