From owner-freebsd-questions@FreeBSD.ORG Sun Dec 16 04:39:06 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA8C616A419 for ; Sun, 16 Dec 2007 04:39:06 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0C38513C4F3 for ; Sun, 16 Dec 2007 04:39:05 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (dialup47.ach.sch.gr [81.186.70.47]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id lBG4c9wp008683 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 16 Dec 2007 06:38:37 +0200 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id lBG4c8Yo059803; Sun, 16 Dec 2007 06:38:08 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id lBG4c7oa059714; Sun, 16 Dec 2007 06:38:07 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 16 Dec 2007 06:38:07 +0200 From: Giorgos Keramidas To: Frank Shute Message-ID: <20071216043807.GB53561@kobe.laptop> References: <20071214010542.GA19553@demeter.hydra> <200712132012.32729.mike.jeays@rogers.com> <20071214211008.GA12935@melon.esperance-linux.co.uk> <20071215021349.GF2062@kobe.laptop> <20071215135403.GA16763@melon.esperance-linux.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071215135403.GA16763@melon.esperance-linux.co.uk> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.951, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.45, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: FreeBSD Questions Subject: Re: pdksh vs. mksh info [was: Re: Apparently, csh programming is considered harmful.] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Dec 2007 04:39:06 -0000 On 2007-12-15 13:54, Frank Shute wrote: >> % keramida@kobe:/usr/local/bin$ ls -ld mksh bash ksh >> % -rwxr-xr-x 1 root wheel - 684699 Dec 9 19:51 bash >> % -r-xr-xr-x 1 root wheel - 2390645 Aug 31 17:07 ksh >> % -r-xr-xr-x 1 root wheel - 236202 Dec 9 18:34 mksh > > Wow. My pdksh is much smaller: > > $ ls -ld /usr/local/bin/ksh > -r-xr-xr-x 1 root wheel 681584 Jan 23 2007 /usr/local/bin/ksh > > $ pkg_info -W /usr/local/bin/ksh > /usr/local/bin/ksh was installed by package pdksh-5.2.14p2_2 > > It's also statically compiled. I wonder what is bloating yours so > much. Was it built with debugging code or something? Yes. All my ports are build with DEBUG_FLAGS='-g' this time, so it may be the cause of the pdksh bloat.