A shell parser, formatter, and interpreter with bash support; includes shfmt
https://github.com/mvdan/sh
A shell parser, formatter, and interpreter. Supports POSIX Shell, Bash, and mksh.
- Links to home:zzndb001 / shfmt
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:bruno_friedmann/shfmt && cd $_
- Create Badge
Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename | Size | Changed |
---|---|---|
_link | 0000000194 194 Bytes | |
project.diff | 0000003759 3.67 KB | |
sh-3.8.0.obscpio | 0000919052 898 KB | |
vendor.tar.xz | 0000596904 583 KB |
Latest Revision
Bruno Friedmann (bruno_friedmann)
committed
(revision 2)
- Update to version 3.8.0: * CHANGELOG: prepare for v3.8.0 * all: start using Go 1.21 std APIs * CI: bump bash image version * add Go 1.22, drop Go 1.20 * CI: bump github actions * bump dependencies before the next release * cmd/shfmt: add --apply-ignore flag for tools and editors * cmd/shfmt: support editorconfig language sections * syntax: backquotes affect backslashes in single quotes too * syntax: better column numbers for escapes inside backquotes * cmd/shfmt: document how EditorConfig's "ignore" works * syntax: detect bash 5.2 rather than 5.1 * update dependencies * README: fix up a few links * Update Arch Linux package URL in README.md * interp: support subshells with FuncEnviron as Env * expand: support zero-padding in brace expansions * syntax: support brace expansions with uppercase letters * interp: support parentheses in classic test commands * interp: add TODOs about test operator precedence * interp,expand: add support for fs.DirEntry * appease unparam * interp: determine access to a directory via unix.Access * syntax: allow redirects before all arguments * all: add Go 1.21, drop 1.19 * Update README.md * syntax: better error when using "function" in POSIX mode * cmd/shfmt: don't recommend inline EditorConfig comments * CHANGELOG: fix formatting on the latest link references
Comments 0