Rewrite fragile shell scripts toward safer quoting and stricter patterns with Shellharden
Inspect or auto-fix shell scripts to reduce quoting bugs and brittle Bash patterns before they break in CI or production.
Prerequisites
Shellharden binary, shell scripts to review
Installation
Basic usage or getting-started notes:
Below: An artificial example that shows more tricky cases and special features.
Extracted from upstream docs: https://raw.githubusercontent.com/anordal/shellharden/HEAD/README.md