portable shell functions, ksh and bash -- jeanne baccash memorial