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 supported2 Subscribers
Add a CodeTriage badge to sh
Help out
- Issues
- interp: unexpected array variable and subshell interaction
- syntax: consider a language variant for pre-POSIX shells
- syntax: turn FunctionNextLine into an option that applies to "{", "then", and "do"
- expand: Variable cannot represent indexed arrays with gaps
- v4: remove syntax.KeepPadding and shfmt -kp
- cmd/shfmt: option to check syntax and not produce any output
- syntax: ksh support
- syntax: keep "exit guards" in place
- syntax: allow word iteration loops to keep all words in separate lines
- syntax: consider zsh support
- Docs
- Go not yet supported