On Jan 30, 2008 12:23 PM, Victor Lowther <victor.lowther at gmail.com> wrote: > I am especially interested in a more robust version of 0003. I only looked at this patch. You can just use the return status of `type' for the function. No grepping is necessary. prog_exists() { type "$1" >/dev/null } -- Dan