使用Shellharden将脆弱的shell脚本重写为更安全的引号和更严格的模式
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.
-
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/anordal/shellharden/HEAD/README.md
Documentation
- https://github.com/1991513ccie-png/skills