show 'n' lines either side of found term
Posted: Fri Oct 31, 2008 3:50 pm
Hello
Would it possible to have a facility in find in files to show a number of lines either side of the found text or string, for example if the found text is on line 56, then show lines 55-57 in the results.
This shouldn't be too hard to implement, grep does it with the -B, -A switches, personally I would find this very useful.
thanks for a great product!
regards
rob carter
Would it possible to have a facility in find in files to show a number of lines either side of the found text or string, for example if the found text is on line 56, then show lines 55-57 in the results.
This shouldn't be too hard to implement, grep does it with the -B, -A switches, personally I would find this very useful.
thanks for a great product!
regards
rob carter