6 ms·
While we're on something that is essentially a more powerful "find and grep", I wrote this years ago: http://uzix.org/cgvg.html http://uzix.org/cgvg.html Like
by uzi 18y ago
While we're on something that is essentially a more powerful "find and grep", I wrote this years ago:
http://uzix.org/cgvg.html http://uzix.org/cgvg.html
Like ack, it uses perl's regexes... just add more file extensions and you're golden. The nice thing is you do:
cg pattern
which gives you a list with what it found, which file, the line number and an index... then you
vg index
and it opens that file at that line.