“Number” Manipulation in Grep
November 7th, 2006 liewsheng
“grep” will able to display the lines match with keyword or non-keyword (using option “-v”), but you may want to continue to display another few lines after/before the matched keyword: grep -A N “keyword” filename this will continue display N lines after the matching line. To display the N lines before matching line : grep [...]
Posted in grep, Text Manipulation | Hits: 17332 | No Comments »






