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

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

 



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 -


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux