Page MenuHomeFreeBSD

usr.bin: Remove intrinsic utilities
Needs ReviewPublic

Authored by des on Mon, Dec 15, 6:39 PM.

Details

Reviewers
None
Group Reviewers
srcmgr
Summary

These utilities can only function correctly if implemented as shell
builtins and exist only because POSIX previously required them. As of
POSIX 2024, they have all been reclassified as intrinsic utilities and
are no longer required to exist in PATH. We can therefore retire them.
Cf. XBD 1.7, XRAT C.1.8, Austin Group bug 854.

Note that kill(1) is also considered an intrinsic utility (because
only the shell can interpret job IDs correctly), but we have a working
standalone implementation, which we will keep.

PR: 291686

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69281
Build 66164: arc lint + arc unit

Event Timeline

des requested review of this revision.Mon, Dec 15, 6:39 PM

In builtin.1 we also have a chart where builtin utilities with standalone versions have asterisks, the asterisks for these utilities should also be removed in this commit I think