1#!/bin/sh 2# Wrapper for gencat 3TMP=/tmp/catgen.$$ 4trap "rm -f $TMP" 0 1 2 3 15 5 6GENCAT="$1" 7shift 8OUT="$1" 9shift 10cat "$@" > "$TMP" 11echo "$(basename "$OUT" .cat)" 12"${GENCAT}" "$OUT" "$TMP" 13