[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: GREP



Actually, I think the guy mentioned he was using the MKS toolkit, which I
believe is a UNIX emulation running on a DOS machine.  So, the "." is
probably still significant.  Obviously, the "." is useless to us
UNIX weenies.

 __________________________________________________________________________
| Bryan Swann (swann nosc mil)  803/974-4267   803/974-5080 (Fax)          |
| Eagan McAllister Associates, Inc.                                        |
|                                                                          |
|  "Everything must be working perfectly, cause I don't smell any smoke"   |
 --------------------------------------------------------------------------

On Thu, 24 Jul 1997, Joshua Schmidlkofer wrote:

> Walter Brandt wrote:
> > 
> > Hi.  I hope someone here can help me.  I am still a newbie to Linux
> > (well,
> > in fact - Unix full stop).  My question is hopefully simple to answer.
> > 
> > Can someone please give me the command to search subdirectories for
> > the
> > occurrence of text within some files.  I can search all the files in a
> > single directory, just not in subdirectories.
> > 
> > eg.
> > grep -r *.* sometext
> 
> Walter,
> 
> 	Hey I just wanted to point something out, being as all these guys
> pretty much handled it.  You must be coming from a DOS based platform,
> and I wanted to tell you,  periods '.' are no longer a requirement of a
> filename. If you put '*.*' it will look for anyfile with a period in it,
> not all files.  (The search capabilities of Unix's far outweigh that of
> DOS) in fact, if you copy a file, like: 
> 'cp /etc/hosts \*\*\*' you will have a file named '***'. *laugh* Anyway
> if you put a '\' before a char, it typically means that absolute
> character..  Anyway have fun.
> 
> js
> 
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
>          To unsubscribe: mail redhat-install-list-request redhat com
>                      with "unsubscribe" as the Subject.
> 
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]