Timeline for Delete Nth line from each line matching a pattern
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:36 | history | edited | CommunityBot | replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/ | |
| May 3, 2016 at 12:18 | vote | accept | don_crissti | ||
| May 3, 2016 at 0:00 | comment | added | Wildcard | @don_crissti, I agree your example is very clear. It made me realize what you were really asking when my first attempt failed. I think the easiest way around this issue is a double use of tac, as I suggest in my answer. Congrats on a question that's much trickier than it first appears. :) | |
| May 2, 2016 at 23:32 | answer | added | Wildcard | timeline score: 2 | |
| May 2, 2016 at 19:41 | answer | added | Jeff Schaller♦ | timeline score: 2 | |
| May 2, 2016 at 19:11 | comment | added | don_crissti | @guido - yes, it should always delete the Nth; I think the example is pretty clear. | |
| May 2, 2016 at 18:53 | comment | added | guido | If a line matching the pattern is to be deleted because of a previous match, should it still delete the following n-th, or not? | |
| May 2, 2016 at 18:52 | answer | added | meuh | timeline score: 2 | |
| May 2, 2016 at 18:51 | answer | added | Eric Renouf | timeline score: 6 | |
| May 2, 2016 at 18:27 | history | asked | don_crissti | CC BY-SA 3.0 |