This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
/etc/profile.d/00xfree.csh vs. grep
- From: Keith Thompson <kst at cts dot com>
- To: cygwin at cygwin dot com
- Cc: Keith Thompson <kst at cts dot com>
- Date: Wed, 31 Jul 2002 23:25:10 -0700
- Subject: /etc/profile.d/00xfree.csh vs. grep
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) kst@cts.com <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/