Version 0 of tclsh application template

Updated 2003-01-28 15:45:42

This template code is for starting a typical tclsh application.

 #! /bin/sh
 # the next line restarts using tclsh \
 exec tclsh "$0" ${1+"$@"}

This is a little more sophisticated than the code suggested on the tclsh man page, and is explained in great detail on exec magic.


Category Example