News for hackers. Stuff that matters.
Re:Introduction to sed by tmhedberg on Friday October 07, 2011 @02:01PM (#3085100)
In particular, `ctags -x` generates human-readable tabular output (instead of the normal output designed for parsing by text editors) and annotates each symbol to indicate whether it's a variable, function, macro, etc.

If you want to get a list of all function names from file "foo.c", you could do something like:

    ctags -x foo.c | awk '$2=="function"{print $1}'

There are no comments on this comment yet.