home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!goya!eonwe!jjsf
- From: jjsf@gmv.es (Julio Sanchez)
- Newsgroups: comp.os.linux
- Subject: Re: TextSearch under Linux
- Message-ID: <2511@eonwe.gmv.es>
- Date: 25 Jan 93 10:14:50 GMT
- References: <7-PCNews-124beta@alpha.saar.de> <1993Jan24.223011.5389@serval.net.wsu.edu>
- Organization: Grupo de Mecanica del Vuelo, S.A. (GMV), Madrid, Spain
- Lines: 26
-
- In article <1993Jan24.223011.5389@serval.net.wsu.edu> hlu@eecs.wsu.edu (H.J. Lu) writes:
- >
- >Please get a good Unix book. To find "foobar", a very simple one:
- >
- >find . -exec grep foobar {} \;
- >
-
- find . -exec grep foobar {} /dev/null \;
-
- Otherwise, the string is found but you don't know where. Either solution
- is good, but they meet different requirements.
-
- The solution given by someone (sorry, lost the name):
-
- grep foobar `find . -type f -print` (or something, I quote from memory)
-
- is very good (less processes started) but may choke on system limits if
- the file list is very long.
-
-
- Julio
- --
- Julio Sanchez, GMV SA, Isaac Newton 11, PTM Tres Cantos, E-28760 Madrid, Spain
- Ph. +34 1 807 21 85 | jsanchez@gmv.es | Traveller, there is no
- Fax +34 1 807 21 99 | jsanchez%gmv.es@Spain.EU.net | path; paths are made by
- Telex 48487 GMEV E | Julio_Sanchez_GMV@EuroKom.ie | walking (A. Machado)
-