This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]