Patronage & Donations
If you use the Slackware UK services on a regular basis, and would like to contribute to running costs, make a continuing patronage (and receive special benefits), or make a one off PayPal payment, please use one of the following buttons:
All
donations will be gratefully received - thank you!
Toggle theme:
Content of directory's README
shfmt is a command-line formatter for shell programs. It supports
POSIX Shell, Bash, Zsh, and mksh syntax, and can check, format, or
rewrite shell scripts consistently.
Examples:
shfmt script.sh # write formatted output to stdout
shfmt -w script.sh # rewrite the file in place
shfmt -d script.sh # show formatting differences
shfmt -l . # list files that need formatting
Run "shfmt -h" for the complete list of options. The package installs
the executable as /usr/bin/shfmt. Upstream documentation and the source
form of the manual page are installed under /usr/doc/shfmt-3.14.1/.
The separate vendor archive supplies the Go modules, so the SlackBuild
does not download dependencies or a Go toolchain. Go and the modules
are needed only while building; shfmt has no runtime dependencies
outside the standard Go runtime embedded in the binary.
This package is built from the official mvdan/sh v3.14.1 release:
https://github.com/mvdan/sh
Server (facade0) bandwidth utilisation
0

10 Gbit/s