Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site wgivax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!mcnc!unccvax!wgivax!ram From: ram@wgivax.UUCP Newsgroups: net.unix Subject: command file HELP Message-ID: <137@wgivax.UUCP> Date: Mon, 3-Feb-86 20:46:50 EST Article-I.D.: wgivax.137 Posted: Mon Feb 3 20:46:50 1986 Date-Received: Wed, 5-Feb-86 01:38:20 EST Lines: 12 > If you only want the file names, this *might* work, I'm not sure ... > find / -exec "fgrep this-is-the-string '{}' | awk -F: '{print $1}'" \; > (DOUBLE UGGGHHH) > -- Or maybe... find / -exec "fgrep this-is-the-string '{}' | awk '{print FILENAME}'" \;