On Jan 30, 2008 12:23 PM, Victor Lowther <[EMAIL PROTECTED]> 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
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils
