summaryrefslogtreecommitdiff
path: root/usr.bin/command/command.sh
AgeCommit message (Collapse)Author
2025-12-23Resurrect standalone commandDag-Erling Smørgrav
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: 4100bd6caa66 ("usr.bin: Remove intrinsic utilities") Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D54341
2002-07-16A little bit more thought has resulted in a generic script which canGarrett Wollman
implement any of the useless POSIX-required ``regular shell builtin'' utilities, saving one frag and one inode each. The script moves to usr.bin/alias which is alphabetically the first of these commands. Notes: svn path=/head/; revision=100200
2002-07-16POSIX requires these shell builtins to also exist as totally pointlessGarrett Wollman
external commands. Since they serve no useful purpose, it's OK that their implementation is not the most efficient possible. Notes: svn path=/head/; revision=100198