attempting to support ksh