I wanted each host line of my .gnmap file to be parsed into separate files with the ports as the contents, each port on a separate line. below is the one liner:replace local1.gnmap with the name of your gnmap file. This should product output like so:
22/open/tcp//ssh//Cisco SSH 1.25 (protocol 1.99)
443/open/tcp//ssl|http//Cisco IOS http config/
This may mean nothing to you, but for me, its going to make grepping through recon SOOOO much simpler.