top | item 45009894

(no title)

heybrendan | 6 months ago

From 2014 [1].

This seems to be posted once per year (at least); however, hardly a complaint as the discussion tends to be high quality.

My personal mantra is if it's over 10~20 lines, I should arguably be using another language, like Python (and perhaps correspondingly, subprocess [2], if I'm in a hurry).

[1] https://web.archive.org/web/20140523002853/http://redsymbol....

[2] https://docs.python.org/3/library/subprocess.html

discuss

order

esafak|6 months ago

It's time to stop using these archaic shells, and make sure the newer ones are packaged for and included with popular operating systems. Better scripting languages have been offered in shells for a long time: https://en.wikipedia.org/wiki/Scsh

These days I've settled on https://www.nushell.sh/

tux1968|6 months ago

I think https://oils.pub/ has a good shot at being the eventual replacement because it has a very strong transition story. Being backward compatible, while allowing you to progressively embrace a modern replacement, is pretty powerful.

ZYbCRq22HbJ2y7|6 months ago

i don't think nushell is better than bash for day to day things. it is nice when you need it though, and then you can just run it, like with any shell.