Subject: Re: /etc/profile.d/00xfree.csh vs. grep
From: Nicholas Wourms <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Thu, 1 Aug 2002 03:37:51 -0700 (PDT)

This is more appropriate for the Cygwin/XFree list.

--- Keith Thompson <[email-masked]> wrote:
> The script /etc/profile.d/00xfree.csh includes the following line:
> 
>     eval "echo ${PATH} | grep -q ${X11PATH}"
> 
> This is executed before $PATH has been set, resulting in an error
> message:
> 
>     grep: Command not found.
> 
> The fix is simple: change "grep" to "/bin/grep".
> 
> (00xfree.sh uses "/bin/grep".)
> 
> -- 
> Keith Thompson (The_Other_Keith) [email-masked] 
> <http://www.ghoti.net/~kst>
> San Diego Supercomputer Center           <*> 
> <http://www.sdsc.edu/~kst>
> Schroedinger does Shakespeare: "To be *and* not to be"
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/