delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
To: | cygwin AT cygwin DOT com |
From: | David Kramer <david AT thekramers DOT net> |
Subject: | Re: pdksh not setting $? with exit status of commands |
Date: | Thu, 20 Jan 2005 15:17:56 +0000 (UTC) |
Lines: | 22 |
Message-ID: | <loom.20050120T161459-97@post.gmane.org> |
References: | <loom DOT 20050119T161314-452 AT post DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0501191509070 DOT 20608 AT slinky DOT cs DOT nyu DOT edu> <loom DOT 20050119T220318-4 AT post DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 61 DOT 0501191821490 DOT 21835 AT slinky DOT cs DOT nyu DOT edu> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | main.gmane.org |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-Loom-IP: | 68.167.15.123 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3) |
X-IsSubscribed: | yes |
Igor Pechtchanski <pechtcha <at> cs.nyu.edu> writes: > > Cygwin Configuration Diagnostics > > Current System Time: Wed Jan 19 16:13:42 2005 > > > > Windows XP Professional Ver 5.1 Build 2600 Service Pack 1 > > [snip] > > Found: C:\cygwin\bin\grep.exe > > Found: c:\SFU\common\grep.exe > > Warning: C:\cygwin\bin\grep.exe hides c:\SFU\common\grep.exe > > Ah, I think this may be your problem. Are you *sure* you're using the > Cygwin grep? In general, mixing MS SFU and Cygwin in the PATH is not a > good idea. > > Try explicitly using /bin/grep, i.e., Guilty as charged. That was it. Thank you. I did one better and uninstalled MS SFU, which is about what it deserves. Now it works as preditcted. Thank you for the help, and for the clue-by-4 on the diagnostic tool that uncovered the problem. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |