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
Filename Size Changed
_service 0000000754 754 Bytes
_servicedata 0000000229 229 Bytes
sh-3.9.0.obscpio 0000931340 910 KB
sh.obsinfo 0000000091 91 Bytes
shfmt.changes 0000006512 6.36 KB
shfmt.spec 0000001541 1.5 KB
vendor.tar.xz 0000609304 595 KB
Revision 11 (latest revision is 13)
erefd's avatar erefd (zzndb001) committed (revision 11)
- Update to version 3.9.0:
  * CHANGELOG: prepare for v3.9.0
  * add Go 1.23.x, drop 1.21.x
  * interp: add -s (silent) support to the read builtin
  * cmd/gosh: use an os.Pipe in another interactive test
  * interp: fix data race regression with stdin pipe changes
  * interp: use os.Pipe when StdIO or OpenHandler produce non-file stdins
  * interp: add a broken test for stdin draining with StdIO
  * interp: do not include TODOs in godoc comments
  * interp: implement here-documents via os.Pipe
  * interp: verify tests with Bash 5.2
  * syntax: use the min builtin
  * update dependencies
  * syntax: use Parser.matched consistently
  * update editorconfig and golang.org/x deps
  * interp: implement -O and -G tests
  * expand: allocate fewer objects in Fields
  * expand: replace sort.SearchStrings with slices.BinarySearchFunc
  * update dependencies
  * syntax: add support for the Bash 5.2 @k expansion operator
  * expand: avoid a panic when ParamExp.Repl.Orig is nil
  * syntax: avoid a slice bounds check on every input byte
  * syntax: implement basic offset overflow protection
  * syntax: reduce the amount of allocation batching again
  * syntax: remove colOverflow conditional
  * syntax: make Parser.reset a bit more conservative
  * syntax: move benchmarks to a separate file
  * syntax: quicktest can take go-cmp options now
  * cmd/shfmt: drop SHFMT_NO_EDITORCONFIG warning
  * cmd/shfmt: swap out pkg/diff for internal/diff
Comments 3

Martin Wilck's avatar

Would you mind submitting this to Factory?


erefd's avatar

Fine, where should I submit this package?


Bruno Friedmann's avatar

Use the submit package on the left sidebar, and use "devel:languages:go" as target to go, ask to be maintainer for the package. Once the package is accepted there, it will be possible to submit it to openSUSE:Factory because the base is an official devel repo for Factory. Once in Factory, it will be possible to also send it to SLE:Backport to have it also in Leap. btw congratulation, nice work.

openSUSE Build Service is sponsored by