Replacing the uses of 'whence' with 'type' and 'print'
with 'echo' allows the script to be run under bash
shell as well as ksh.
'whence' doesn't exist under bash, but it can be
replaced with the usage of 'type'. In ksh, type is an
alias for 'whence -v'.
'echo' is a shell builtin under both ksh and bash;
whereas, print doesn't exist under bash.
*NOTE* this patch produced with the following command:
% cvs co ShUnit
% cd ShUnit
% cvs diff -u shUnit
Log in to post a comment.