Backout previous due to a bug discovered by zhuk@ that requires some tinkeringand is not an easy fix for now.
Add support for pattern substitution to variables in ksh using a common syntaxborrowed from ksh93.Survived a ports build performed by naddy@ and encouraged by many.