Interesting article, though for me an acceptable middle ground is to just use bash and friends as an interface, as described, and to write any larger and more complicated scripts in Python with argparse (or similar).
I don’t see why the shell must be both nice to program in and a concise textual interface.
Shell scripts are the automation and extension of repetitive, tedious manual tasks. Why wouldn't you want to take your shell history and wrap it in some getopt-ish stuff? Or to put it another way, why would you wish to throw away your debugged and working code for a rewrite in another language?
> I don’t see why the shell must be both nice to program in and a concise textual interface.
Because people just want to have one consistent tooling for everything, and it should be effortless available everywhere. Especially portability is a huge problem.
bash is a horrible interface though. Teleprinter compatibility is a bit too much to bear today and really gets in the way, at least for me. On the other hand, I can happily live without all the cool arcane bash features that have crept in over the decades.
Steltek|4 years ago
gbrown|4 years ago
To each their own, but writing bash scripts that get more complex than moving a few files around and sucks (imho), so I don’t bother.
slightwinder|4 years ago
Because people just want to have one consistent tooling for everything, and it should be effortless available everywhere. Especially portability is a huge problem.
gbrown|4 years ago
GoblinSlayer|4 years ago