From f787f9b4e7b2fbff61ae81ebfff9799996533a78 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 30 Mar 2005 09:12:56 +0000 Subject: [PATCH] args, pass to trang "as is"; also be a bit more verbose --- cvstools/runtrang | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cvstools/runtrang b/cvstools/runtrang index a85a51685..12f544476 100755 --- a/cvstools/runtrang +++ b/cvstools/runtrang @@ -2,11 +2,10 @@ # $Id$ -# This script attempts to find and run trang with "simple" -# conversions (one input file and output file specified, with no -# other arguments). +# This script attempts to find and run trang. Any arguments given +# to it are passed "as is" to trang. # -# Usage: trang +# Usage: runtrang ... # if trang is found in CLASSPATH, then call trang "manually" if [[ $CLASSPATH == *trang* ]]; then @@ -44,7 +43,9 @@ fi # if trang was found, run it if [ -n "$TRANG" ]; then - $TRANG $1 $2 + echo + echo "$TRANG $@" + $TRANG $@ else # otherwise, exit with an error echo "error: cannot locate trang" 1>&2 -- 2.40.0