You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have already hit many of the kinks that pure POSIX sh has. I'm seriously considering using bash as the shell for scripting instead. This solves many portability issues, gives us access to good features like arrays, and it's much easier to find documentation about. I don't think it hurts portability too much, as most UNIX systems come with it preinstalled (shout out to exceptions like Alpine or some BSDs) and in basically all of them it is very easy to install. Nix uses bash instead of sh exactly for this reason.
Alternatives to think about:
Going straight to Nushell, which has the huge benefits of being an actually sane programming language and of supporting Windows. Obvious con is that it's not preinstalled in any system really, and I don't think it's fair to have that randomly as a dependency. It would be really nice though, and I think we should seriously consider it at least for the justfiles.
Python. Just no. It's basically the points above for Nushell but worse in every way possible.
We have already hit many of the kinks that pure POSIX sh has. I'm seriously considering using bash as the shell for scripting instead. This solves many portability issues, gives us access to good features like arrays, and it's much easier to find documentation about. I don't think it hurts portability too much, as most UNIX systems come with it preinstalled (shout out to exceptions like Alpine or some BSDs) and in basically all of them it is very easy to install. Nix uses bash instead of sh exactly for this reason.
Alternatives to think about: