Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2001 14:56:38 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        Ian Dowse <iedowse@maths.tcd.ie>
Cc:        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:  <33186.1006347398@axl.seasidesoftware.co.za>
In-Reply-To: Your message of "Wed, 21 Nov 2001 12:46:47 GMT." <200111211246.aa59934@salmon.maths.tcd.ie> 

next in thread | previous in thread | raw e-mail | index | archive | help


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. :-)

Ciao,
Sheldon.

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?33186.1006347398>