3 ms·
The programmability of a shell just isn't interesting to me. Whenever I start hacking a shell script, it either starts out as just two or three lines or it evo
by whirlycott1 17y ago
The programmability of a shell just isn't interesting to me. Whenever I start hacking a shell script, it either starts out as just two or three lines or it evolves to the point where I feel like I need a "real" language. At that point, I'll end up hacking it in perl or python.
In the meantime, I'm happy enough with bash.
- jimbokun 17y agoI would like to see the interactive Read Eval Print Loops of one of these languages finish closing the gap and become good shell replacements. I find I can get close to that sometimes with interactive programming environments, but not quite.
- gjm11 17y agoWell, there's scsh (http://www.scsh.net/ http://www.scsh.net/), but it's not under active development any more.
- stuntmouse 17y agoWhich is a shame. I just found shelisp [1] which, despite the questionable name, looks simple and promising. [1] http://dan.corlan.net/shelisp/ http://dan.corlan.net/shelisp/
- jdp 17y agoThere's rush: "rush is a replacement for the unix shell (bash, zsh, etc) which uses pure Ruby syntax" from http://rush.heroku.com http://rush.heroku.com I haven't used it though, I actually switched from bash to fish about 6 months ago
- maelstrom 17y agoHave you tried ipython? http://ipython.scipy.org/moin/ http://ipython.scipy.org/moin/ Pretty close...
- cturner 17y agoI've been thinking about this also and was planning this week to change one of my login shells to just pythn to trial it. I've now got two small line-based editors running in python (one is an ed clone, the other is simpler and uses list comprehension), and it's simple enough to write wrapper functions around the bits you need to change directory and spawn process. There's no standardisation of effort, but it's completely doable just on your own system. I realise it's probably not at the top of your mind, but can you think what you found missing when you last tried it?
- weavejester 17y agoI find that Fish is better for interactive use. It has as-you-type syntax highlighting and indentation, and the tab completion tends to be better.