I just posted a copy of sh.c that has Erik's and my changes merged, I hope successfully. It does actually compile without errors, and runs through some simple tests without obvious bugs. http://doolittle.faludi.com/~larry/sh.c - Larry