Use the ksh93 shell, installed by shells/ksh93 in ports.