v3.10.0
- cmd/shfmt
- Report the correct language variant in parser error messages - #1102
- Move
--filenameout of the parser options category - #1079
- syntax
- Parse all CRLF line endings as LF, including inside heredocs - #1088
- Count skipped backslashes inside backticks in position column numbers - #1098
- Count skipped null bytes in position column numbers for consistency
- interp
- Fix a regression in
v3.9.0which broke redirecting files to stdin - #1099 - Fix a regression in
v3.9.0whereHandlerContext.Stdinwas never nil - Add an
Interactiveoption to be used by interactive shells - #1100 - Support closing stdin, stdout, and stderr via redirections like
<&-
- Fix a regression in
Consider becoming a sponsor if you benefit from the work that went into this release!
Binaries built on go version go1.23.2 linux/amd64 with:
CGO_ENABLED=0 go build -trimpath -ldflags="-w -s -X=main.version=v3.10.0"