devel/shfmt 3.14.1_2 FreeBSD
Shell script formatter
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d81b7ba3c3- License
- BSD3CLAUSE
- Categories
- devel
- Package size
- 1147.3 KiB, 3417.0 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 |
|---|---|---|
| FreeBSD | devel/shfmt | 3.14.1_2 |
| OpenBSD | devel/shfmt | 3.6.0 |
| NetBSD | devel/shfmt | 3.14.1 |
| DragonFly | devel/shfmt | 3.11.0 |
Install
Binary package:
pkg install shfmt
From the ports tree:
cd /usr/ports/devel/shfmt/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= shfmt>0:devel/shfmt
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 3.14.1_1 | 3.14.1_1 | - | 3.12.0_2 | 3.14.1_1 |
| FreeBSD:14:quarterly | 3.14.1_1 | 3.14.1_1 | n/a | 3.11.0_3 | 3.14.1_1 |
| FreeBSD:15:latest | 3.14.1_1 | 3.14.1_1 | n/a | - | 3.12.0_2 |
| FreeBSD:15:quarterly | 3.14.1_1 | 3.14.1_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 3.14.1 | 3.14.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
scdoc: textproc/scdoc
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Required by 1
Configuration
No options to configure.
- USES
- go:modules
- Service scripts
- none
Files
distinfo 2
| File | Size | SHA256 |
|---|---|---|
| go/devel_shfmt/shfmt-v3.14.1/v3.14.1.mod | 557 | 95c0b4d2dab2c59a017949cec731d3ba685666802ca283133415adf2932ff8d2 |
| go/devel_shfmt/shfmt-v3.14.1/v3.14.1.zip | 347003 | 744b518b28db4b256f88954b7f5461fe2d2822f6f5818b137887bf9713175e25 |
Commit history 8
The latest 5 of 8 in the history this site was built from.