I would like to grep for an occurrence in a text file, then print the following N lines after each occurrence found. Any ideas?
|
feedback
|
|
Grep has the following options that will let you do this (and things like it). You may want to take a look at the man page for more information:
| |||
|
feedback
|
|
If you have GNU
| |||
|
feedback
|
|
Use the | |||
|
feedback
|