ఇది పాత వెర్షన్. తాజా వెర్షన్ 3.14.1. shfmt 3.14.1 · విడుదల:
ఇన్స్టాలర్ ఫైల్లు 3.12.0
| ఆర్కిటెక్చర్ | రకం | ఎవరి కోసం | ఫైల్ సైజ్ | డౌన్లోడ్ | SHA256 |
|---|---|---|---|---|---|
| 64-బిట్ | పోర్టబుల్ | — | — | github.com | VirusTotal |
| 32-బిట్ | పోర్టబుల్ | — | — | github.com | VirusTotal |
లింక్లు మరియు SHA256, Windows Package Manager కమ్యూనిటీ మ్యానిఫెస్ట్ల నుంచి తీసుకున్నవి. ఫైల్ను రన్ చేసే ముందు దాని హ్యాష్ సరిపోల్చండి.
రిలీజ్ నోట్స్
- The mvdan-sh JS package is discontinued in favor of sh-syntax - #1145
- cmd/shfmt
- Support the "simplify" and "minify" flags via EditorConfig - #819
- Do not allow --write to replace non-regular files - #843
- interp
- Add IsBuiltin to check if a command name is a shell built-in - #1164
- Add HandlerContext.Builtin to allow ExecHandlerFunc to call built-ins
- Initial support for $! and wait PID - #221
- Return non-fatal ExecHandlerFunc errors via the Runner.Run API
- Add HandlerContext.Pos to provide handlers with source positions
- Deprecate NewExitStatus and IsExitStatus in favor of ExitStatus
- Fix wait to always return the status of the last given job
- Copy all env vars for background subshells to avoid data races
- Support reading random numbers via $RANDOM and $SRANDOM
- Set $BASH_REMATCH when matching regular expressions via =~
- Support modifying local vars from the parent calling function
- expand
- Adjust which backslash sequences are expanded in here-docs - #1138
- Tweak tilde expansions to match Bash semantics
- pattern
- Remove the flawed and broken Braces mode; use syntax.SplitBraces instead
- Tweak ** to only act as "globstar" when alone as a path element - #1149
- Tweak * and ** to not match leading dots in basenames
- Add a NoGlobStar mode to match the POSIX semantics
- fileutil
- Treat all non-regular files as definitely not shell scripts - #1089