On Fri, Apr 05, 2002 at 03:20:43PM -0800, justin bengtson wrote:
> man bsetbg
> No manual entry for bsetbg
> 
> bsetbg --help
> bsetbg: error: couldn't find grep!
> this script needs grep to be in your path in order to function.
> you can get GNU grep from ftp://ftp.gnu.org/bin/gnu/grep/
> 
> grep
> Usage: grep [OPTION]... PATTERN [FILE]...
> Try `grep --help' for more information.
> 

bsetbg is a Bourne shell script.  Here's the chunk that trips the
above error:

case `which grep 2>&1` in */*grep) : ;;
    *)
        error_msg nogrep
esac


What happens when you type "/bin/sh -c 'which grep'"?

--
<[EMAIL PROTECTED]>

Reply via email to