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

Re: find -ing all object files recursively: How to



On Wednesday 05 November 2003 08:49 am, Juan Martinez wrote:
> On Wed, 2003-11-05 at 08:34, Reuben D. Budiardja wrote:
> > Hi all,
> > I need some help here. <snip>
> > So the problems are:
> > 1. Find the object files recursively <-- not quite sure how to do this
> > 2. pass the result to "nm". I can't figure this out, here is what I've 
> This should do the trick:
>
> find . -iname \*.o -o -iname \*.a -o -iname \*.so -exec nm -o {} \;

Thanks for all who replied. This works.
RDB
-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -




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