!/bin/sh

gawk -f bb2gem.gawk < "${1}.bb" > "${1}.gmi"

grep '\[' < "${1}.gmi"

amfora "file://$(realpath "${1}.gmi")"