Timeline for How to search for a match, then a non-match on that line, but include context lines for matched line?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 16, 2018 at 11:01 | answer | added | RudiC | timeline score: 0 | |
| Aug 15, 2018 at 18:01 | answer | added | steve | timeline score: 0 | |
| Aug 15, 2018 at 17:39 | history | edited | Tyler Rick | CC BY-SA 4.0 | added 90 characters in body; edited tags |
| Aug 15, 2018 at 17:37 | answer | added | Tyler Rick | timeline score: 1 | |
| Aug 15, 2018 at 17:28 | comment | added | Tyler Rick | Interesting idea, thanks! Yes, that does look like it would work in this case since the create_table sections are all separated by a blank line. | |
| Aug 15, 2018 at 17:21 | comment | added | steeldriver | If you want blank-line separated records matching / not matching the two strings you could just use awk in paragraph mode e.g. awk -vRS= '/created_at/ && !/precision/' schema.rb | |
| Aug 15, 2018 at 17:20 | review | First posts | |||
| Aug 15, 2018 at 17:23 | |||||
| Aug 15, 2018 at 17:11 | history | asked | Tyler Rick | CC BY-SA 4.0 |