whoops!  don't have "which" installed...

--- Jacob Meuser <[EMAIL PROTECTED]> wrote:
> 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]>
> 


=====
Justin Bengtson  @euglug=(v+ e- eug++ bsd? gnu++ s++)
[EMAIL PROTECTED]

"i called some kid 'b' the other day.  it's the price
you pay for living hip-hop every day of your life."
Jerry (from the Point Blank Rangers)

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

Reply via email to