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
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/