GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
xotclsh(1) Command-line interface xotclsh(1)


xotclsh - Simple shell containing NSF/XOTcl2 interpreter

xotclsh ?fileName?


xotclsh ?fileName?
xotclsh is a shell-like application that reads XOTcl2 and Tcl commands from its standard input or from fileName and evaluates them. If invoked without fileName, then it runs in REPL mode, reading commands from standard input and printing command results and error messages to standard output. It runs until the exit command is invoked or until it reaches end-of-file on its standard input.

xotclsh can be used like tclsh to make XOTcl2 scripts directly invokable from the shell, by providing the following first line ("shebang") 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 (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).
2.3.0 xotclsh

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.