mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Resurrect standalone command
While command(1) is now classified by POSIX as an intrinsic utility and
no longer required to exist as a standalone program, it turns out that
we still have a use for it (cf. env(1)), so resurrect it.
PR: 291879
Fixes: 4100bd6caa ("usr.bin: Remove intrinsic utilities")
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D54341
This commit is contained in:
1 parent
ae12432049
commit
745c6c0431
4 files changed
+7
-1
No files matched your search
@@ -55,7 +55,6 @@
|
||||
OLD_FILES+=usr/bin/alias
|
||||
OLD_FILES+=usr/bin/bg
|
||||
OLD_FILES+=usr/bin/cd
|
||||
OLD_FILES+=usr/bin/command
|
||||
OLD_FILES+=usr/bin/fc
|
||||
OLD_FILES+=usr/bin/fg
|
||||
OLD_FILES+=usr/bin/getopts
|
||||
|
||||
@@ -23,6 +23,7 @@ SUBDIR= apply \
|
||||
colrm \
|
||||
column \
|
||||
comm \
|
||||
command \
|
||||
compress \
|
||||
csplit \
|
||||
ctlstat \
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
SCRIPTS=command.sh
|
||||
MAN=
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
builtin command "$@"
|
||||
Reference in new issue
Block a user