BSD Ports

devel/shfmt 3.14.1 NetBSD

Shell formatter with bash support

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
309977eb40
License
modified-bsd
Categories
devel
Package size
1188.0 KiB, 3404.2 KiB installed

Description

Shfmt is a shell parser, formatter, and interpreter. It suports POSIX Shell, Bash, and mksh.

In the other systems

SystemPortVersion
NetBSDdevel/shfmt3.14.1
FreeBSDdevel/shfmt3.14.1_2
OpenBSDdevel/shfmt3.6.0
DragonFlydevel/shfmt3.11.0
HardenedBSDdevel/shfmt3.14.1
GhostBSDdevel/shfmt3.14.1

Install

Binary package:

pkgin install shfmt

From pkgsrc:

cd /usr/pkgsrc/devel/shfmt && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_643.14.1
NetBSD 10.1 aarch643.13.1nb3
SmartOS / illumos x86_643.14.1nb2
macOS 15 arm643.14.1nb1

Dependencies

No port depends on this one.

Commit history 8

DateCommitCreditsLog message
309977eb40 bsiegert Revbump all Go packages after go127 security update
96dc94755d bsiegert Revbump all Go packages after go127 security update
864f664455 adam shfmt: updated to 3.14.1
3.14.1 - 2026-09-06 - **syntax** - Fix the indentation of heredocs nested inside command substitutions - Keep literal tabs in `<<-` heredoc bodies rather than replacing them with spaces - Don't indent heredocs without dashes nested in `<<-` ones, whose output no longer parsed - Zsh: don't drop the prefix in short forms like `$#"$foo"` and `$+"$foo"` - **interp** - Fix the build on 32-bit FreeBSD and NetBSD - **expand** - Don't let escaped characters such as `\*` act as glob metacharacters - **pattern** - Treat unclosed extended operator groups like `@(a` as literals, avoiding a panic 3.14.0 - 2026-08-28 This release drops support for Go 1.25 and includes many enhancements, particularly in the interpreter, which implements more shell features …
866d2b73e9 bsiegert Revbump all Go packages after go127 update
2338e838cd bsiegert Revbump all Go packages after go127 became the default

The latest 5 of 8 in the history this site was built from.