greping function referer

November 25, 2012

git grep --show-function --line-number "$@" \
| perl -ne '/(.*=\d+)=(.*?(\w+)\(.*)/ && print "$3 \t$1\t$2\n"; '

git grep


grep with show-function

November 12, 2012

You can grep sources and see context function like with diff –show-c-function or diff -p.

Search sources stored in git and show the preceding line that contains the function name of the match:

git grep –show-function STR

Same, but search files not in git, even without git repository:

git grep –no-index –show-function STR

git grep

You are welcome to post here your comment on article
Comparison of channel capacity and video throughput

Comments on Linux system

February 9, 2010

Fighting Israel for Dummies

January 17, 2009

Fighting Israel for Dummies

Linux kernel diagram

January 4, 2009

Comments on Linux kernel diagram: