News for hackers. Stuff that matters.
Re:Greppability is an underrated code metric by alienchow on Tuesday September 03, 2024 @07:17PM (#41440276)
I very rarely use literal grep at all. Perl grep is my standard goto.

For functions: grep -P '^func funcName\('

For methods: grep -P '^func [^)]+\) methodName\('

There are no comments on this comment yet.