Skip to content Skip to sidebar Skip to footer
Showing posts with the label Grep

Find In Files Using Ruby Or Python

A popular text editor has the following 'find in files' feature that opens in a dialog box:… Read more Find In Files Using Ruby Or Python

Grep For A Word, And If Found Print 10 Lines Before And 10 Lines After The Pattern Match

I am processing a huge file. I want to search for a word in the line and when found I should print … Read more Grep For A Word, And If Found Print 10 Lines Before And 10 Lines After The Pattern Match