Subject: Re: advanced shell parameter expansion with %% or ##
To: None <tech-pkg@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 05/01/2007 17:25:19
On Mon, Apr 30, 2007 at 04:26:35PM +0200, Klaus Heinz wrote:
> I suppose we can rely on the fact that the shell used for pkgsrc knows
> about %/%% and #/## for parameter expansion? This is already used in
> some places like mk/checksum/checksum.
> This implies that eg on Solaris /bin/sh is not sufficient. I do not know
> about the capabilities of shells on other systems.
Solaris /bin/sh is not supported PERIOD
E.g. it is known to have segfault with at least some libtool versions,
it is nowhere near POSIX etc.
Joerg