--- In [email protected], "Raseel Bhagat" <[EMAIL PROTECTED]> wrote: > > Hi mathew, > > > On Mon, 02 Jul 2007 mathewcos wrote : > > > On Fri, 29 Jun 2007 mathewcos wrote : > >Hi, > > > > I try to use, > >#grep hai * grep: invalid max count > > > >I am getting the error, > >"grep: invalid max count" > > This might be because there are TOO many instances of the word "hai" in your file. > After firing the grep command do this : > $ echo $? > Does it return 2 ? If yes, my guess is correct. > > You can check the man page of grep and search for "--max-count" . > > Thanks, > Raseel > > > [Non-text portions of this message have been removed] >
Hi, I tried this. #grep hai * grep: invalid max count #echo $ $ This is the out put. Regards Mathew
