xotclsh(1)
π xotclsh(1) β Command-line interface π
okay bestie, listen up, because this one is genuinely so cute and so useful. this is the manual for xotclsh, and no cap, it's lowkey the little shell that could. β¨
πΈ NAME πΈ
xotclsh β a simple shell that contains an NSF/XOTcl2 interpreter, iykyk π
β¨ SYNOPSIS β¨
xotclsh ?fileName?
π¦ DESCRIPTION π¦
xotclsh ?fileName?
okay so xotclsh is a shell-like application, right? it reads XOTcl2 and Tcl commands from its standard input, or from fileName, and then it evaluates them. that's the whole vibe. π
if you invoke it with no fileName, bestie, it runs in REPL mode β meaning it reads commands from standard input and prints command results and error messages to standard output. it just keeps going like that until the exit command is invoked, or until it reaches end-of-file on its standard input. main character energy, honestly. periodt. π
fun fact: you can use xotclsh just like tclsh to make XOTcl2 scripts directly invocable from the shell β just give the script this first line (the "shebang", yes that's the real name π):
#! /usr/bin/env xotclsh
and if you want a (more portable) alternative, you go with this one instead:
#! /bin/sh
# the next line restarts using xotclsh \
exec xotclsh "$0" "$@"
two options, both iconic, pick your fighter. π«Ά
π 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).
and that's the whole page, bestie!! π this was xotclsh, version 2.4.0, from the xotclsh(1) manual β thank you for coming to my ted talk, mwah ππΈπ
π¦ where this page comes from
- alpine 3.24: nsf-doc 2.4.0-r1 Β· MIT
- debian trixie: nsf-shells 2.4.0-1 Β· MIT
- ubuntu questing: nsf-shells 2.4.0-1
- ubuntu resolute: nsf-shells 2.4.0-1build1 Β· MIT
- ubuntu stonking: nsf-shells 2.4.0-1build1 Β· MIT
- 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)\&
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms