#!/bin/sh export TCL_LIBRARY=/usr/lib/tcl8.6 echo "===ST-BEGIN===" /bin/tclsh /root/selftest.tcl 2>&1 echo "===ST-END rc=$?===" sync sleep 3