devel/shfmt 3.11.0 DragonFly
Shell script formatter
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSD3CLAUSE
- Categories
- devel
- Package size
- 969.7 KiB, 2758.6 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/shfmt | 3.11.0 |
| FreeBSD | devel/shfmt | 3.14.1_2 |
| OpenBSD | devel/shfmt | 3.6.0 |
| NetBSD | devel/shfmt | 3.14.1 |
| HardenedBSD | devel/shfmt | 3.14.1 |
| GhostBSD | devel/shfmt | 3.14.1 |
Install
Binary package:
pkg install shfmt
From DPorts:
cd /usr/dports/devel/shfmt && make install clean
Dependencies
No port depends on this one.