How do we select for (extract) a group of lines that either follow or precede a specific line, for example:
+ select the top line and the following 3 lines:
/* Important info follows this line */
apple banana cucumber
dog elephant fish
giraffe hippo igloo
+ select the 'Important Line' and the preceding 2 lines:
giraffe hippo igloo
dog elephant fish
apple banana cucumber
/* Important info precedes this line */
Filter to select lines the follow or precede a specific line
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
- DataMystic Support
- Site Admin
- Posts: 2229
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Just use the 'context lines' options of the Filters\Extract\Extract lines matching Filter.
Regards,
Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads
Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads