From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/534 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: compatability: heirloom-utils +.5, libarchive -1 Date: Fri, 6 Jan 2012 03:41:10 -0500 Message-ID: <20120106084110.GA132@brightrain.aerifal.cx> References: <20120103060600.2190fc2b@newbook> <20120103173808.GH14961@port70.net> <20120104180526.05c071fe@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1325840419 30618 80.91.229.12 (6 Jan 2012 09:00:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Jan 2012 09:00:19 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-535-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jan 06 10:00:15 2012 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Rj5eo-0007rk-51 for gllmg-musl@lo.gmane.org; Fri, 06 Jan 2012 10:00:14 +0100 Original-Received: (qmail 10171 invoked by uid 550); 6 Jan 2012 09:00:11 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 10163 invoked from network); 6 Jan 2012 09:00:11 -0000 Content-Disposition: inline In-Reply-To: <20120104180526.05c071fe@newbook> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:534 Archived-At: On Wed, Jan 04, 2012 at 06:05:26PM -0800, Isaac Dunham wrote: > On Tue, 3 Jan 2012 18:38:08 +0100 > Szabolcs Nagy wrote: > > i had to fix things in heirloom to be able to compile > > it with pcc+musl > > i did about the same hacks, but then i ran various tests > > and some of the more obscure tools failed so i figured > > heirloom is not that good quality, eg.: > > nl -b a -v 0 > > (i would never use nl but it turns out the build > > script mess of dash does ..for whatever reason) > heirloom toolchest has about four "personalities": > 1. SVRx (default?) > 2. BSD > 3. Single UNIX 3 > 4. SUS > (The latter two are variants of POSIX) > In general, the POSIX variants are about as close to precisely > standards-conformant as you can get; unfortunately, the plain old UNIX > versions are default. I note, though, that nl presumably ought to start > numbering at 0 when specified; instead, it starts at 1 (SU3/SUS > variants), skipping the line that would be numbered 0. The old unix > version apparently didn't recognize -b. > But I figure it beats Busybox any day--and I'd rather not use GNU > bloat. I'm not sure what you're talking about. Busybox does not contain GNU code and hardly has any bloat aside from the source-level bloat resulting from making it so configurable and micro-optimized for size. > I'd rather use mksh/ksh93, but if you want a POSIX shell, the Bourne > shell beats dash on standards-conformance (after all, it *is* the > standard). mksh (when invoked as sh) is almost pure POSIX. I'm not sure what conformance issues you claim busybox's ash has, but I suspect the developers would be happy to hear your bug reports. My understanding is that except in a few specific areas, the bb utils are intended to conform to SUSv4. Rich