Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # A Tcl comment, whose contents don't matter
- exec tclsh "$0" "$@"
- exec tclsh $0 ${1+$@}
- #!/usr/bin/env tclsh
- puts $tcl_version
- 8.5
- #!/usr/bin/tclsh
- puts $tcl_version
- pax> cat qq.tcsh
- #!/usr/bin/tclsh
- puts $argc
- puts $argv
- pax> qq.tcsh my name is pax
- 4
- my name is pax
- #!/bin/sh
- # A Tcl comment, whose contents don't matter
- exec /some/very/long/path/to/find/a/tcl/executable/path/tclsh "$0" "$@"
- #!/usr/bin/env tclsh
Add Comment
Please, Sign In to add comment