Extract function names
Keith Cantrell
kcantrel at digi.lonestar.org
Tue Sep 18 04:52:31 AEST 1990
In article <4cc48e05.12c9a at digital.sps.mot.com> chen at digital.sps.mot.com (Jinfu Chen) writes:
>I'm looking for a tool to extract names of function call in C files. A
>typical use of it is to build a cross-reference list for function calls. For
>example, given source files of RN, I would like to find out which file the
>ngdata_init() call is defined (and optionally) used.
>
>Shell scripts (including perl) are welcome.
>
>--
>Jinfu Chen (602)898-5338
>Motorola, Inc. SPS Mesa, AZ
> ...uunet!motsps!digital!chen
>chen at digital.sps.mot.com
>CMS: RXFR30 at MESAVM
>----------
There was a program posted a while back (as in server years ago) call 'id'
that does an excellent job of exactly what you want. It was written by
Greg McGary. At the bottom of a README file I found the following:
-- Greg McGary
-- P.O. Box 286
-- Lincoln, MA 01773
--
-- 9/15/87
--
-- Until the end of 1987,
-- Consulting to Sun's East Coast Division:
-- gmcgary at ecd.sun.com
-- gmcgary at suneast.uu.net
--
-- After that, probably consulting in Europe...
so I am not sure what the current status of this program is. This program
does have a copyright notice on it, so I don't just want to posted it
unless someone can convince me that I want get into any trouble :-).
Type at you later,
Keith Cantrell
-----------------------------------------------------------------------
Keith Cantrell Phones: hm: 214-492-1088
Apollo Computer wk: 214-519-2399 @ DSC
A Subsidiary of Hewlett-Packard
USMAIL: EMAIL:
2100 Sonata Ln kcantrel at digi.lonestar.org
Carrollton TX 75007 or
...!uunet!digi!kcantrel
-----------------------------------------------------------------------
More information about the Comp.unix.shell
mailing list