| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <43DF8C11.1000307@exmsft.com> |
| Date: | Tue, 31 Jan 2006 17:10:57 +0100 |
| From: | Keith Moore <keithmo AT exmsft DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 |
| MIME-Version: | 1.0 |
| To: | Tzuriel <tzuriel DOT kastel AT med DOT ge DOT com> |
| CC: | cygwin AT cygwin DOT com |
| Subject: | Re: Using grep from within a .cmd or .bat file in Windows |
| References: | <loom DOT 20060131T164649-334 AT post DOT gmane DOT org> |
| In-Reply-To: | <loom.20060131T164649-334@post.gmane.org> |
| X-ELNK-Trace: | bd47eb33e10cdf15d780f4a490ca69563f9fea00a6dd62bc96765fce6c90c7be7b8613a4ba75e2a8350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c |
| 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 |
Tzuriel wrote: > grep --help > pause > > inside a file called grep.cmd, "grep.cmd" is getting executed recursively. You need to name your .cmd file something other than "grep". KM -- 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 |