#!/bin/sh gawk ' @include "scripts/getcls.awk" BEGIN { FS = "\t" } { printf "trX { td .missing {-%s} td .%s colspan=\"6\" {-%s} }\n", $1, getcls($2), $3 } END { print "__MARKER__" } ' data/world/$1.bra \ | scripts/last-of-design.sed