Subject: advanced shell parameter expansion with %% or ##
To: None <>
From: Klaus Heinz <>
List: tech-pkg
Date: 04/30/2007 16:26:35

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.