Thank you very much for the quick response Peter. That patch seems to have worked fine. I was able to successfully compile the entire FreeBSD base system this time, using zsh as /bin/sh. I patched against and tested with the master branch from the git repository. Regards, Vince