delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Tzuriel <tzuriel DOT kastel AT med DOT ge DOT com> |
Subject: | Re: Using grep from within a .cmd or .bat file in Windows |
Date: | Tue, 31 Jan 2006 16:46:49 +0000 (UTC) |
Lines: | 23 |
Message-ID: | <loom.20060131T174616-819@post.gmane.org> |
References: | <loom DOT 20060131T164649-334 AT post DOT gmane DOT org> <43DF8C11 DOT 1000307 AT exmsft DOT com> <43DF8DF4 DOT 5080105 AT opnet DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
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 |
Both perfect suggestions! Thanks for taking the time to help. > > Keith Moore wrote: > > "grep.cmd" is getting executed recursively. You > > need to name your .cmd file something other than > > "grep". Stein Somers <ssomers <at> opnet.com> writes: > Or invoke "grep.exe --help". Or if you want to experiment, specify the exact path to grep. Or > if you love to experiment, make sure grep.cmd is not in the current directory and not in any > PATH entry, so that you have to invoke it with an explicit path. > > Stein > > -- 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 |