delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/01/02:25:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 31 Jul 2002 23:25:10 -0700
From: Keith Thompson <kst AT cts DOT com>
To: cygwin AT cygwin DOT com
Cc: Keith Thompson <kst AT cts DOT com>
Subject: /etc/profile.d/00xfree.csh vs. grep
Message-ID: <20020731232510.A66175@king.cts.com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i

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 AT cts DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019