--- In [email protected], Y Giridhar Appaji Nag <[EMAIL PROTECTED]> 
wrote:
>
> On 07/06/29 06:29 -0000, mathewcos said ...
> > 
> > I have a file containg the word 'hai' in my present working 
direcory.
> > File name is 'newfile'.I executed the the following command from 
my
> > present working directory.
> > 
> > #grep hai *.*
> > 
> > It is not selecting the file newfile. Why?
> 
> *.* will match anything that has a dot in it.  Since 'newfile' 
doesn't
> have a dot in it, you are observing the above behaviour.
> 
> Use "grep hai *"
> 
> You should get a Unix basics book and work through it :-)
> 
> Giridhar
> 
> -- 
> Y Giridhar Appaji Nag | http://www.appaji.net/
> 
> 
> [Non-text portions of this message have been removed]
>


Hi,

 I tried to use,

#grep hai *"

It shows the error,

usegrep: invalid max count


Regards,
Mathew



Reply via email to