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.
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:zzndb001/shfmt && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000756 756 Bytes | |
_servicedata | 0000000229 229 Bytes | |
sh-3.10.0.obscpio | 0000935948 914 KB | |
sh.obsinfo | 0000000092 92 Bytes | |
shfmt.changes | 0000008191 8 KB | |
shfmt.spec | 0000001543 1.51 KB | |
vendor.tar.xz | 0000611968 598 KB |
Latest Revision
erefd (zzndb001)
committed
(revision 14)
- Update to version 3.10.0: * CHANGELOG: prepare for v3.10.0 * cmd/shfmt: bump deps in Dockerfile * interp: let HandlerContext.Stdin be nil again when there is no stdin * interp: support closing stdin, stdout, and stderr files * cmd/shfmt: move --filename out of parser options * interp: test and fix `read` with regular files as stdin * all: clarify that the "keep padding" formatting option is deprecated * cmd/shfmt: report correct language read from EditorConfig in errors * cmd/shfmt: show broken behavior in test for #1102 * update all deps * interp: add an Interactive option to be used by cmd/gosh * cmd/gosh: add bad test case for #1100 * syntax: parse all CRLF line endings as LF * syntax: add a few godoc links * cmd/shfmt: test that -i=0 does not skip ignore=true from EditorConfig * README: clarify caveat for `declare` * expand: use cmp.Or * syntax: include skipped backslashes in backticks for column numbers * syntax: actually use qt.CmpEquals * syntax: include skipped null bytes in column numbers * syntax: add test case for positions after skipped null bytes * syntax: do not use %d verb for syntax.Pos * all: more tweaks thanks to Go 1.22 * syntax/typedjson: use reflect.TypeFor * go.mod: update dependencies * syntax: fix a fmt.Sprintf issue spotted by the latest go vet * all: swap bytes.Buffer for strings.Builder
Comments 3
Would you mind submitting this to Factory?
Fine, where should I submit this package?
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.