Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site aero.ARPA Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!ittatc!dcdwest!sdcsvax!sdcrdcf!trwrb!trwrba!aero!sutton From: sutton@aero.ARPA (Stew Sutton) Newsgroups: net.unix,net.unix-wizards,net.wanted Subject: Need unix command file HELP! Message-ID: <245@aero.ARPA> Date: Wed, 29-Jan-86 17:41:24 EST Article-I.D.: aero.245 Posted: Wed Jan 29 17:41:24 1986 Date-Received: Sat, 1-Feb-86 06:53:45 EST Reply-To: sutton@aero.UUCP (Stew Sutton) Organization: The Aerospace Corporation, El Segundo, CA Lines: 27 Keywords: Unix, string search, Sake o nomimasu ka? Xref: watmath net.unix:6985 net.unix-wizards:16609 net.wanted:8052 We are looking for a utility that can, when given a arbitrary string, can locate all occurences of that string anywhere on the system. Our local Un*x gurus can't figure this out, so we are appealing to those out in Netland to help us out. We are looking for the command to work like this: findstring this-is-the-string The utility would return all the files (and their pathnames from the root) to the screen. Of course if the protections on the file indicate that the file cannot be read, the program should ignore that file and keep on going. We think it can be done using a command file using the 'ls' and 'awk' commands but we just can get it right. Please send source code (or ideas on writing this code) to us and we will post to net a summary of working code. Thanks in advance. sutton@aerospace.ARPA {ihnp4!sdcrdcf,randvax,trwrb} ! aero ! sutton sutton%aerospace.ARPA@WISCVM.BITNET