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
- dockerized version changes uid/gid to root when used with -w
- cmd/shfmt: provide a jsonschema for --to-json and --from-json
- interp: add BashOpts for shopt options, just like Params for set options
- syntax: remove backslash-newline-semicolon when it's unnecessary
- syntax: joins lines if escaped newlines aren't preceded by a space
- cmd/shfmt: Files with non-shell extension excluded
- syntax: IsIncomplete only works with Interactive
- syntax: Minify inserting backslashes between `)` and `=`
- Notes from Bash 5.2 changelog
- cmd/shfmt: add shell auto-complete
- Docs
- Go not yet supported