Comment

Comment by mg

Pro shell scripts:

- I often encounter machines without Python or Go. I never encounter machines without Bash.

- Python and Go will probably change faster than Bash. So the maintenance cost of scripts in Python or Go will be higher.

- When you figured out something tricky on the command line, you can paste it into a Bash script verbatim.

- Bash is the perfect glue language. If the task at hand is to glue together some commands, nothing beats Bash.

parent mg 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton