#! /bin/bash

# Public Domain

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

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