Skip to content

Comment on Writing Robust Bash Shell Scripts

Comments

The premise is flawed. Robustness requires a shell that works the same across platforms and across time, and that means /bin/sh.

Most of the people reading this article, IME, are not familiar with /bin/sh, or its differences from /{bin,usr/bin,usr/local/bin}/bash, much less know how or why it is important to write robust AND portable shell scripts.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.