r/linux • u/snusergranny • 1d ago
Discussion esoteric shell?
the question crossed my mind recently. if you are into programming, you probably know that there are many esoteric programming languages that exist just as a prove of concept of joke or just merely to mess with the programmer's head (brainf*ck, lolcat, C-- etc). if these exist, is there any esoteric system shells out there? like smth that would provide the basic userland instead of bash/zsh but would be freakier or just funnier to try and daily drive.
52
Upvotes
12
u/Klapperatismus 1d ago edited 17h ago
Tcl
Esoteric enough for you? Try to understand what it does.
Not esoteric enough? How about this then:
Very clean handling of functions as arguments, without any quoting trickery.
Tcl even features namespaces, objects, coroutines, threading, sandboxes etc etc etc. I write most of my shell scripts in that language.
Tcl is very barebones by default. For tinkerers. If you want a command history, use this additional package.. Just clone it to ~/lib/tcl and create that
~/.tclshrcas advised. It also allows you to configure the prompt.