Actually pdksh, used on Linux, has sufficiently many bugs not shared by other ksh implementations (many critical, some such actually documented as never to be fixed in the manpage!) that whenever I want a portable shell script of any complexity I write it in zsh. At least there's one implementation of that and bugs get fixed in it.