#! /bin/bash

# Public Domain

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

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