Install this package:
emerge -a dev-util/shfmt
If the package is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask dev-util/shfmt
Or alternatively:
emerge --autounmask-write -a dev-util/shfmt
<pkgmetadata> <maintainer type="person"> <email>spiderx@spiderx.dp.ua</email> <name>Vladimir Pavljuchenkov</name> </maintainer> <maintainer type="project"> <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> <longdescription lang="en"> shfmt formats shell programs. It can use tabs or any number of spaces to indent. You can feed it standard input, any number of files or any number of directories to recurse into. When recursing, it will operate on .sh and .bash files and ignore files starting with a period. It will also operate on files with no extension and a shell shebang. If any EditorConfig files are found, they will be used to apply formatting options. </longdescription> <upstream> <remote-id type="github">mvdan/sh</remote-id> </upstream> </pkgmetadata>
Manage flags for this package:
euse -i <flag> -p dev-util/shfmt |
euse -E <flag> -p dev-util/shfmt |
euse -D <flag> -p dev-util/shfmt
| Flag | Description | 9999 | 3.12.0 |
|---|---|---|---|
| man | ⚠️ | ⊕ | ⊕ |
| Type | File | Size | Versions |
|---|---|---|---|
| DIST | sh-3.12.0.tar.gz | 232286 bytes | 3.12.0 |
| Type | File | Size |
|---|---|---|
| DIST | github.com%2Fcreack%2Fpty%2F@v%2Fv1.1.24.mod | 38 bytes |
| DIST | github.com%2Fcreack%2Fpty%2F@v%2Fv1.1.24.zip | 40880 bytes |
| DIST | github.com%2Fcreack%2Fpty%2F@v%2Fv1.1.9.mod | 39 bytes |
| DIST | github.com%2Fgo-quicktest%2Fqt%2F@v%2Fv1.101.0.mod | 504 bytes |
| DIST | github.com%2Fgo-quicktest%2Fqt%2F@v%2Fv1.101.0.zip | 35661 bytes |
| DIST | github.com%2Fgoogle%2Fgo-cmp%2F@v%2Fv0.7.0.mod | 41 bytes |
| DIST | github.com%2Fgoogle%2Fgo-cmp%2F@v%2Fv0.7.0.zip | 130179 bytes |
| DIST | github.com%2Fgoogle%2Frenameio%2Fv2%2F@v%2Fv2.0.0.mod | 46 bytes |
| DIST | github.com%2Fgoogle%2Frenameio%2Fv2%2F@v%2Fv2.0.0.zip | 22986 bytes |
| DIST | github.com%2Fkr%2Fpretty%2F@v%2Fv0.3.1.mod | 117 bytes |
| DIST | github.com%2Fkr%2Fpretty%2F@v%2Fv0.3.1.zip | 13388 bytes |
| DIST | github.com%2Fkr%2Ftext%2F@v%2Fv0.2.0.mod | 68 bytes |
| DIST | github.com%2Fkr%2Ftext%2F@v%2Fv0.2.0.zip | 12607 bytes |
| DIST | github.com%2Fpkg%2Fdiff%2F@v%2Fv0.0.0-20210226163009-20ebb0f2a09e.mod | 36 bytes |
| DIST | github.com%2Frogpeppe%2Fgo-internal%2F@v%2Fv1.14.1.mod | 141 bytes |
| DIST | github.com%2Frogpeppe%2Fgo-internal%2F@v%2Fv1.14.1.zip | 190962 bytes |
| DIST | github.com%2Frogpeppe%2Fgo-internal%2F@v%2Fv1.9.0.mod | 112 bytes |
| DIST | golang.org%2Fx%2Fsys%2F@v%2Fv0.33.0.mod | 35 bytes |
| DIST | golang.org%2Fx%2Fsys%2F@v%2Fv0.33.0.zip | 1994091 bytes |
| DIST | golang.org%2Fx%2Fterm%2F@v%2Fv0.32.0.mod | 70 bytes |
| DIST | golang.org%2Fx%2Fterm%2F@v%2Fv0.32.0.zip | 20626 bytes |
| DIST | golang.org%2Fx%2Ftools%2F@v%2Fv0.31.0.mod | 301 bytes |
| DIST | golang.org%2Fx%2Ftools%2F@v%2Fv0.31.0.zip | 3287817 bytes |
| DIST | mvdan.cc%2Feditorconfig%2F@v%2Fv0.3.0.mod | 38 bytes |
| DIST | mvdan.cc%2Feditorconfig%2F@v%2Fv0.3.0.zip | 13853 bytes |