From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/533 Path: news.gmane.org!not-for-mail From: Isaac Dunham Newsgroups: gmane.linux.lib.musl.general Subject: Re: compatability: heirloom-utils +.5, libarchive -1 Date: Wed, 4 Jan 2012 18:05:26 -0800 Message-ID: <20120104180526.05c071fe@newbook> References: <20120103060600.2190fc2b@newbook> <20120103173808.GH14961@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325729151 1787 80.91.229.12 (5 Jan 2012 02:05:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2012 02:05:51 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-534-gllmg-musl=m.gmane.org@lists.openwall.com Thu Jan 05 03:05:47 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 1Rici9-00086z-BC for gllmg-musl@lo.gmane.org; Thu, 05 Jan 2012 03:05:45 +0100 Original-Received: (qmail 30459 invoked by uid 550); 5 Jan 2012 02:05:44 -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 30450 invoked from network); 5 Jan 2012 02:05:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=BLdub6wlhn8kYF7ibDJ/zsxuTRe3Or8/8rIHJcSNQAYq98eu9bIcDng9UZPbocnYqivuCJ39/Z/vvmPVk+d8nh47oTF7BZnn/C1JSt3r6O2zlw8oareVmQa6pHDRiG/uDjYYXr402U7rWuLBygjUEmB75c3t+Etbit365fAbMEE=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; In-Reply-To: <20120103173808.GH14961@port70.net> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:533 Archived-At: 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'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. Isaac