Timeline for Remove extra header lines from file, except for the first line
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 17, 2018 at 10:16 | comment | added | Wildcard | Also related: unix.stackexchange.com/a/417736/135943 | |
| Jul 18, 2017 at 8:08 | history | edited | Wildcard | CC BY-SA 3.0 | Yay, I finally understand `n` vs. `b`. |
| Nov 8, 2016 at 2:16 | comment | added | Wildcard | @don_crissti, interesting addition; thanks! I would probably opt for the longer but equivalent sed '1{h;n;};G;/^\(.*\)\n\1$/d;P;d' input; somehow it's easier for me to read. :) | |
| Nov 8, 2016 at 2:03 | history | edited | don_crissti | CC BY-SA 3.0 | added a shorter/faster variation, I hope you don't mind |
| Jan 28, 2016 at 20:11 | comment | added | Wildcard | Related: vi.stackexchange.com/q/6269/4676 | |
| Jan 27, 2016 at 3:25 | history | edited | Wildcard | CC BY-SA 3.0 | deleted 33 characters in body |
| Jan 27, 2016 at 3:09 | history | answered | Wildcard | CC BY-SA 3.0 |