TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Use Bash Strict Mode (Unless You Love Debugging)

13 pointsby ekiauhcealmost 2 years ago

2 comments

rktaalmost 2 years ago
The Bash FAQ disagrees:<p><a href="https:&#x2F;&#x2F;mywiki.wooledge.org&#x2F;BashFAQ&#x2F;105" rel="nofollow noreferrer">https:&#x2F;&#x2F;mywiki.wooledge.org&#x2F;BashFAQ&#x2F;105</a><p>The TFA is referenced at the bottom of this FAQ.
john-tells-allalmost 2 years ago
I use this on <i>all</i> programs. It makes my many bugs pop out and show themselves, vs silently shrugging and carrying on. Strict Mode reduces confusion a LOT.