Timeline for Extract two lines following a line with a specific value
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 7, 2016 at 19:40 | comment | added | Barmar |
@nacc Is there really a line break between support and policy? If so, it needs to read 3 lines after Name. But the second part of the sample only has 2 lines after Name`. How is it supposed to know when to stop?
|
|
| Apr 7, 2016 at 19:39 | vote | accept | nacc | ||
| Apr 7, 2016 at 19:34 | answer | added | Barmar | timeline score: 2 | |
| Apr 7, 2016 at 19:31 | comment | added | nacc | @Barmar thanks for the tip, that's helpful I'll do that now | |
| Apr 7, 2016 at 19:31 | comment | added | nacc | @don_crissti I've imagined the scenario thusly and concluded it makes sense to me | |
| Apr 7, 2016 at 19:30 | comment | added | Barmar |
Use the { } code markup for sample input/output, not quotation.
|
|
| Apr 7, 2016 at 19:29 | comment | added | Barmar |
Anyway, look at the -A option to grep.
|
|
| Apr 7, 2016 at 19:29 | comment | added | Barmar | Your sample input appears to be double-spaced, is that accurate? | |
| Apr 7, 2016 at 19:28 | comment | added | nacc | @don_crissti hopefully that does the trick | |
| Apr 7, 2016 at 19:28 | history | edited | nacc | CC BY-SA 3.0 |
changed to a blockquote from code block
|
| Apr 7, 2016 at 19:18 | review | First posts | |||
| Apr 7, 2016 at 20:00 | |||||
| Apr 7, 2016 at 19:17 | history | asked | nacc | CC BY-SA 3.0 |