Timeline for Text Processing - How to get pattern A matching line until first occurrence of pattern B matching line?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 5, 2018 at 1:58 | vote | accept | WashichawbachaW | ||
| Feb 9, 2018 at 2:44 | comment | added | WashichawbachaW | I will run some series of test. But so far, it prints the way I want it to be. I will mark it check after I'm done with some files I have here. | |
| Feb 9, 2018 at 2:42 | history | edited | user232326 | CC BY-SA 3.0 |
added 3 characters in body
|
| Feb 9, 2018 at 2:06 | history | edited | user232326 | CC BY-SA 3.0 |
Adapted script to new requirements of match from bottom up.
|
| Feb 9, 2018 at 1:49 | comment | added | WashichawbachaW |
I'm trying to execute a command to first get the pattern A matched AK5\*R and from that line, it moves to previous line until the very first pattern B AK2 is found (Note: Not the very first pattern B matching line which is line number 5:AK2*777*6666666 from the file but the very first AK2 matching line starting from each pattern A AK5\*R ). See my updated output.
|
|
| Feb 9, 2018 at 0:38 | history | edited | user232326 | CC BY-SA 3.0 |
Added cat of files generated by awk.
|
| Feb 8, 2018 at 18:11 | history | answered | user232326 | CC BY-SA 3.0 |