]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - contrib/tcsh/nls/catgen
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / contrib / tcsh / nls / catgen
1 #!/bin/sh
2 # Wrapper for gencat
3 TMP=/tmp/catgen.$$
4 trap "rm -f $TMP" 0 1 2 3 15
5
6 GENCAT="$1"
7 shift
8 OUT="$1"
9 shift
10 cat "$@" > "$TMP"
11 echo "$(basename "$OUT" .cat)"
12 "${GENCAT}" "$OUT" "$TMP"