From: Herbert Xu Date: Fri, 28 Oct 2005 04:32:11 GMT Subject: Re: [PATCH] Avoid using dc in git-count-objects Message-ID: <20051028043211.GA781@gondor.apana.org.au> In-Reply-To: <4361A5BB.5040100@zytor.com> On Thu, Oct 27, 2005 at 09:14:51PM -0700, H. Peter Anvin wrote: > > Current ash also has these features, and is about that size compiled > static with klibc :) Interesting. I just tried it on my POSIX testsuite and unfortunately it failed a number of simple tests including the case statement and segfaulted on quite a few occasions too. I've included one of the segfault scripts here. Dash is already used in busybox where it has been linked with ulibc. So it can't be that hard to make it work with klibc. Perhaps you could use dash for your project as well? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt trap 'rm -f $TMP' EXIT TMP=$(tempfile) cat <<- EOF > $TMP return echo not here EOF a() { . $TMP echo here } a cat <<- EOF > $TMP exit EOF (false; . $TMP) echo $?