Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
r3trohack3r
on Oct 27, 2022
|
parent
|
context
|
favorite
| on:
Shell script best practices, from a decade of scri...
One missing for me: when doing anything with numbers, use shell arithmetic $(()) and (()) instead of [[]] to be explicit:
https://tldp.org/LDP/abs/html/arithexp.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: