From: Mike Taylor Date: Mon, 22 May 2006 15:16:59 +0000 (+0000) Subject: Use FreeBSD's tclsh8.4 if it exists X-Git-Tag: YAZ.2.1.20~38 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=3f623df63496cd285de7cfb47b1bf902ac114fbd;p=yaz-moved-to-github.git Use FreeBSD's tclsh8.4 if it exists --- diff --git a/src/charconv.tcl b/src/charconv.tcl index b43f12b..125cd10 100755 --- a/src/charconv.tcl +++ b/src/charconv.tcl @@ -1,8 +1,8 @@ #!/bin/sh # the next line restats using tclsh \ -exec tclsh "$0" "$@" +if [ -f /usr/local/bin/tclsh8.4 ]; then exec tclsh8.4 "$0" "$@"; echo exec tclsh "$0" "$@"; fi # -# $Id: charconv.tcl,v 1.13 2006-04-20 20:50:51 adam Exp $ +# $Id: charconv.tcl,v 1.14 2006-05-22 15:16:59 mike Exp $ proc usage {} { puts {charconv.tcl: [-p prefix] [-s split] [-o ofile] file ... }