cgrep for basesystem?

2020-06-04 Thread Kamil Rytarowski
I've discovered and ported cgrep from Coherent to NetBSD. https://github.com/krytarowski/cgrep It's a grep-like program for discovering C identifiers. $ ./cgrep usage /usr/src/bin/ls/*.c /usr/src/bin/ls/ls.c: usage(void) /usr/src/bin/ls/ls.c: usage(); $ ./cgrep x /usr/src/bin

Re: cgrep for basesystem?

2020-06-04 Thread Simon Burge
Kamil Rytarowski wrote: > I find this program useful, however it should be refreshed or rewritten > for modern times. Its switches and usage is not compatible with modern > grep(1) and the implementation is pretty simplistic. > > If someone would be interested to pick this project it would be grea