Page MenuHomeFreeBSD

usr.bin: Remove intrinsic utilities
Needs ReviewPublic

Authored by des on Mon, Dec 15, 6:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 17, 8:10 PM
Unknown Object (File)
Wed, Dec 17, 12:59 PM
Unknown Object (File)
Wed, Dec 17, 9:53 AM
Unknown Object (File)
Wed, Dec 17, 12:55 AM
Unknown Object (File)
Tue, Dec 16, 9:55 PM
Unknown Object (File)
Tue, Dec 16, 8:20 PM
Unknown Object (File)
Tue, Dec 16, 7:25 PM
Unknown Object (File)
Tue, Dec 16, 12:56 PM
Subscribers

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

share/man/man1/builtin.1
166
  1. Unrelated
  2. This is because this page is also called keybinds. Keyboard bindings is rendered on the next line. This was written so "Find in Page" for all possible vernacular would lead you to the top of this subsection. Therefore, please do not change it.
des marked an inline comment as done.Tue, Dec 16, 7:19 PM
des added inline comments.
share/man/man1/builtin.1
166
  1. Unimportant.
  2. Manual pages are supposed to be written in English, and this page isn't remotely long or complex enough for searchability to be an issue.