From owner-cvs-all Wed Nov 21 7:13: 2 2001 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 3FDEE37B405; Wed, 21 Nov 2001 07:12:54 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA13686; Thu, 22 Nov 2001 02:12:26 +1100 Date: Thu, 22 Nov 2001 02:11:08 +1100 (EST) From: Bruce Evans X-X-Sender: To: Sheldon Hearn Cc: Brian Somers , Akinori MUSHA , , Subject: Re: cvs commit: src/share/man/man1 builtin.1 src/bin/sh Makefile builtins.def sh.1 src/usr.bin/printf printf.1 In-Reply-To: <31642.1006340930@axl.seasidesoftware.co.za> Message-ID: <20011122015842.T9998-100000@delplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 21 Nov 2001, Sheldon Hearn wrote: > On Wed, 21 Nov 2001 10:58:12 GMT, Brian Somers wrote: > > > I would have thought it useful to leave both test & printf as > > builtins... it's only a few k of space after all. I would have thought that it is so obviously wrong to remove printf as a builtin that no one would actually do it. > *shrug* I don't care about the bloat. I just figured some rancid > floppy jockey would pipe up. :-) The bloat in /bin/sh has very little to do with having printf in it. It has grown from 90K text in FreeBSD-1 to 590K text today. It is now 50% larger than the 3.5-year old bash-1 that I normally use. Most of the bloat is in libraries, mostly for getpwnam() (a null program statically linked to getpwnam() has size 300K text). getpwnam() is used solely for expansion of "~". This feature was left out of FreeBSD-1 to save 50K or so (getpwnam() was much less bloated in FreeBSD-1). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message