j
k
j a
j l
If there is a pattern, then grep will tell you the line numbers, combined with head and tail to extract the part of the file you want.
In any case head and tail sounds like what I would use in this situation but I'm not sure I fully understand it.
Attachments:
Back to the thread
Back to the list