Date: Wed, 21 Nov 2001 12:54:25 -0600 From: Alfred Perlstein <bright@mu.org> To: Sheldon Hearn <sheldonh@starjuice.net> Cc: Ian Dowse <iedowse@maths.tcd.ie>, Brian Somers <brian@freebsd-services.com>, Akinori MUSHA <knu@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man1 builtin.1 src/bin/sh Makefile builtins.def sh.1 src/usr.bin/printf printf.1 Message-ID: <20011121125425.J13393@elvis.mu.org> In-Reply-To: <33186.1006347398@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Wed, Nov 21, 2001 at 02:56:38PM %2B0200 References: <200111211246.aa59934@salmon.maths.tcd.ie> <33186.1006347398@axl.seasidesoftware.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
* Sheldon Hearn <sheldonh@starjuice.net> [011121 06:55] wrote: > > > On Wed, 21 Nov 2001 12:46:47 GMT, Ian Dowse wrote: > > > The addition of the hexdigit/hexprint/zeropad to MAKEDEV and > > rc.network6 has already almost half-undone the 3k space reduction > > that occurred when the printf builtin was removed. I appreciate > > your effort to avoid bloat - it just seems a pity to have to add > > a pile of sh functions to any rc script that needs to do the things > > that printf did easily. > > I hear what you're saying, but these changes should be made regardless > of what knu is doing to the shell. > > These scripts should not rely on the presence of the standalone > printf(1), because they are both required at times when /usr may not yet > have been mounted. > > That said, the changes are certainly easier to swallow (from a > performance point of view) once test(1) is a shell builtin. :-) Since these are now builtins, wouldn't it sort of make sense to make 'sh' capable of being /bin/test, /bin/printf /whatever/builtin based on argv[0]? :) Then we can just use hardlinks, a bit gross, but it would save quite a bit of space imo. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011121125425.J13393>