From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,46b2b8d209363a80,start X-Google-Attributes: gidfee84,public From: ed wolfe Subject: find, grep, basename usage? Date: 1999/01/07 Message-ID: <36953626.41C6@umich.edu>#1/1 X-Deja-AN: 429965916 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Trace: news.itd.umich.edu 915748457 141.214.99.156 (Thu, 07 Jan 1999 17:34:17 EDT) Organization: Univ of Michigan MIME-Version: 1.0 NNTP-Posting-Date: Thu, 07 Jan 1999 17:34:17 EDT Newsgroups: comp.unix.osf.osf1 I'm trying to come up with a command that will search every *.mak file in a directory heirarchy for a specific filename, and report just the base filename (i.e., only what appears after the last / ), but can't quite get what I need. Part of the trouble seems to be that basename won't take multiple filenames from a pipe. I'm pretty sure I've seen something like this somewhere, but have no idea where. any suggestions appreciated ... ...