FreeBSD.software
Home/devel/shfmt

shfmt

3.12.0_10

Shell script formatter

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.

Origin: devel/shfmt
Category: devel
Size: 2.87MiB
License: BSD3CLAUSE
Maintainer: adamw@FreeBSD.org
Dependencies: 0 packages
Required by: 0 packages
$pkg install shfmt

More in devel