This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Using grep from within a .cmd or .bat file in Windows
- From: Keith Moore <keithmo at exmsft dot com>
- To: Tzuriel <tzuriel dot kastel at med dot ge dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 31 Jan 2006 17:10:57 +0100
- Subject: Re: Using grep from within a .cmd or .bat file in Windows
- References: <loom.20060131T164649-334@post.gmane.org>
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/