Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Use Bash Strict Mode (Unless You Love Debugging)
(
redsymbol.net
)
13 points
by
ekiauhce
on June 20, 2023
|
hide
|
past
|
favorite
|
2 comments
rkta
on June 20, 2023
|
next
[–]
The Bash FAQ disagrees:
https://mywiki.wooledge.org/BashFAQ/105
The TFA is referenced at the bottom of this FAQ.
john-tells-all
on June 20, 2023
|
prev
[–]
I use this on
all
programs. It makes my many bugs pop out and show themselves, vs silently shrugging and carrying on. Strict Mode reduces confusion a LOT.
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://mywiki.wooledge.org/BashFAQ/105
The TFA is referenced at the bottom of this FAQ.