A shell parser, formatter, and interpreter with bash support; includes shfmt

Edit Package shfmt
https://github.com/mvdan/sh

A shell parser, formatter, and interpreter. Supports POSIX Shell, Bash, and mksh.

Refresh
Refresh
Source Files (show unmerged sources)
Filename Size Changed
_service 0000000754 754 Bytes
_servicedata 0000000229 229 Bytes
sh-3.8.0.obscpio 0000919052 898 KB
sh.obsinfo 0000000091 91 Bytes
shfmt.changes 0000004583 4.48 KB
shfmt.spec 0000001541 1.5 KB
vendor.tar.xz 0000596904 583 KB
Latest Revision
Bruno Friedmann's avatar 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
openSUSE Build Service is sponsored by