sh
https://github.com/mvdan/sh
Go
A shell parser, formatter, and interpreter with bash support; includes shfmt
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Go not yet supported1 Subscribers
Add a CodeTriage badge to sh
Help out
- Issues
- Quoted backtick command substitution replacement doesn't unescape quotes
- Comments in a subshell are moved every time the formatter runs
- Variable transformation does not work with arrays
- Allow building with Tinygo
- request: Include Windows ARM64 precompiled binary
- interp: here-doc backslash is not preserved
- Formatting suggestion: if-blocks with multiple conditions
- interp: bash runs scripts if kernel returns ENOEXEC
- emulate beautysh `--force-function-style`
- cmd/shfmt: Add support for minify and simplify via EditorConfig
- Docs
- Go not yet supported