]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make test(1) a builtin command of our sh(1) for efficiency. The
authorAkinori MUSHA <knu@FreeBSD.org>
Sat, 17 Nov 2001 19:10:11 +0000 (19:10 +0000)
committerAkinori MUSHA <knu@FreeBSD.org>
Sat, 17 Nov 2001 19:10:11 +0000 (19:10 +0000)
commitd90c5c4ab44a023c3264493431a3dc1dd39583d0
tree012bf9627bbece65cbf708b3fac1e45edf9656dc
parent39c95b83776b19a6aaf00b29d3192eb6c293cb36
Make test(1) a builtin command of our sh(1) for efficiency.  The
binary size increase is 3,784 bytes (about 0.6%).

I don't drop the printf builtin while I'm here because some /etc/rc.*
scripts seem to use it before mounting /usr where printf(1) resides.

Reviewed by: arch (sheldonh)
Inspired by: NetBSD, ksh
Clued by: ume (on how the printf builtin is used)
bin/sh/Makefile
bin/sh/builtins.def
bin/sh/sh.1
bin/test/test.1
bin/test/test.c
share/man/man1/builtin.1