Bisdejl
kiwifarms.net
- Joined
- Dec 19, 2019
While the Shellcheck subject is still relatively fresh, I figure it's worth mentioning that they've got a great wiki for the individual error codes it provides. The pages are typically concise while also providing examples of bad and good usage, along with the rationale. I love shellcheck.
Some examples:
read without -r will mangle backslashes.
Use "${var:?}" to ensure this never expands to /* .
Some examples:
read without -r will mangle backslashes.
Use "${var:?}" to ensure this never expands to /* .