Mercurial > repos > nick > duplex
view utils/outconv.awk @ 4:af383638de66 draft
planemo upload commit 022984f323d3da44f70b3bf79c684cfd8dda3f61-dirty
author | nick |
---|---|
date | Mon, 23 Nov 2015 18:44:23 -0500 |
parents | |
children |
line wrap: on
line source
substr($0, 1, 1) == ">" { header = $0 split(header, fields1, ".") split(fields1[2], fields2) mate = fields2[1] if (mate == target) { print fields1[1]" "fields2[2] } next } { if (mate == target) { print } }