#! /bin/bash

# Public Domain

[ -z "$CONVLIST" ] && CONVLIST=convlist.pl

  echo === Creating format trace listing
  (cd src/CMD/FORMAT/;
  cat FORMAT.LNK |
  grep -Eio '\S+\.obj' |
  sed -re 's/\\/\//g;s/\.obj/\.lst/g;s/\/inc\//\/INC\//g' |
  xargs "$CONVLIST" formatw.map > format.tls)
