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://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 |
Message-ID: | <004301c31d8d$4b3da030$78d96f83@pomello> |
From: | "Max Bowsher" <maxb AT ukf DOT net> |
To: | <martin AT xemacs DOT org>, <cygwin AT cygwin DOT com> |
References: | <16072 DOT 1370 DOT 762646 DOT 32983 AT gargle DOT gargle DOT HOWL> |
Subject: | Re: Executables for "grep" package installed inconsistently |
Date: | Sun, 18 May 2003 23:31:58 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
Martin Buchholz wrote: > I work on software that wants to be buildable by Cygwin. It looks for > a /bin/egrep.exe, but can't find it. Then fix your software to look for /bin/egrep. If you are using a POSIX-compatibility toolkit, you shouldn't be surprised when is hides a Windows-ism. > Of course the system > administrator can easily add a symlink > > /usr/bin/egrep.exe -> grep.exe > (It is possible that this won't work because egrep is one of those > evil programs that looks at $0... I haven't investigated that > possibility.) Making a suggestion and then pointing out that it may have a flaw is NOT a good way to get it accepted. > $ bunzip2 < grep-2.5-1.tar.bz2 | tar tvf - | grep usr/bin > drwxrwxrwx cgf/group 0 2002-03-20 21:16:15 usr/bin/ > lrwxrwxrwx cgf/group 0 2002-03-20 21:16:15 usr/bin/egrep -> grep > lrwxrwxrwx cgf/group 0 2002-03-20 21:16:15 usr/bin/fgrep -> grep > -rwxrwxrwx cgf/group 85504 2002-03-20 21:16:15 usr/bin/grep.exe > > If grep is installed as "grep.exe", then egrep should be installed as > "egrep.exe". Ditto for fgrep. No, not really. Cygwin does a good job at hiding .exe stuff for the most part. Not perfect, but good. I see no reason to artificially add .exe mess back in. Max. -- 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 |