$1 == "#" { $1 = ""; $2 = "" sub(/^[[:space:]]*/, "") print "" $0 "" next } NF > 0 { id = $1; $1 = "" sub(/^[[:space:]]*/, "") if (NR % 2 == 0) { print "" } else { print "" } print " " id "" print " " $0 "" print " " print "" } END { print "Custom commands" print "
Custom commands can be defined in the following form:" print "
[shortcut]:[command];;[command];;...
" print "" print "" print "" print "" print " " print "" }