#!/bin/sh
# Shell script for executing writeErrs with the lister
# file: doc/examples/errordb/translator
#
BINDIR=/usr/local/scorpion/bin
echo $BINDIR
echo $*
  
cat $* | trans 2 >&1 > /tmp/errors.$$
$BINDIR/lister -i errors.eis -e /tmp/errors.$$ $*
/bin/rm /tmp/errors.$$
