xotclsh(1) Command-line interface xotclsh(1) ________________________________________________________________________________ NAME xotclsh - Simple shell containing NSF/XOTcl2 interpreter SYNOPSIS xotclsh ?fileName? ________________________________________________________________________________ DESCRIPTION xotclsh ?fileName? xotclsh is a shell-like application that reads XOTcl2 and Tcl com- mands from its standard input or from fileName and evaluates them. If invoked without fileName, then it runs in REPL mode, reading com- mands from standard input and printing command results and error messages to standard output. It runs until the exit command is in- voked or until it reaches end-of-file on its standard input. xotclsh can be used like tclsh to make XOTcl2 scripts directly invo- cable from the shell, by providing the following first line ("she- bang") in the respective script: #! /usr/bin/env xotclsh A (more portable) alternative is: #! /bin/sh # the next line restarts using xotclsh \ exec xotclsh "$0" "$@" COPYRIGHT Copyright (c) 2014 Stefan Sobernig <stefan.sobernig@wu.ac.at>, Gustaf Neumann <gustaf.neumann@wu.ac.at>; available under the Creative Commons Attribution 3.0 Austria license (CC BY 3.0 AT). xotclsh 2.4.0 xotclsh(1)
NAME | SYNOPSIS | DESCRIPTION | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xotclsh.nx&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>
