Timeline for With grep, how can I match a pattern and invert match another pattern?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 18 at 12:44 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 4.0 | fix extra empty line when the first line matches (thanks Stéphane Chazelas) |
| Sep 18 at 11:47 | comment | added | Stéphane Chazelas | You'd need to initialise start to 1 or you'd get an empty line if the first line matches. | |
| Sep 18 at 9:57 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 4.0 | fix awk solution that printed before lines out of order when before > 1 (thanks Stéphane Chazelas) |
| Apr 13, 2017 at 12:37 | history | edited | CommunityBot | replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/ | |
| Oct 18, 2013 at 13:40 | vote | accept | Flimm | ||
| Oct 17, 2013 at 22:58 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |