Timeline for sed command to replace a blank line with two lines of content
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:37 | history | edited | CommunityBot |
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
|
|
| Oct 29, 2015 at 20:32 | answer | added | mikeserv | timeline score: 1 | |
| Oct 29, 2015 at 19:46 | answer | added | don_crissti | timeline score: 3 | |
| Oct 7, 2014 at 4:25 | vote | accept | Peter Grill | ||
| May 24, 2011 at 22:30 | history | edited | Peter Grill | CC BY-SA 3.0 |
added 1 characters in body
|
| May 24, 2011 at 22:29 | comment | added | Peter Grill |
Oppss. Sorry, I have corrected the example. ALL lines (except the first blank line), stay as they are.. The first blank line gets replaced with %ghi\n% where the \n represents a linefeed to get me to the next line so that there is a line with just a % on it. Hope that removes the confusion.
|
|
| May 24, 2011 at 22:25 | history | edited | Peter Grill | CC BY-SA 3.0 |
Corrected typo in example; added 28 characters in body; added 6 characters in body; added 67 characters in body
|
| May 24, 2011 at 19:30 | comment | added | Gilles 'SO- stop being evil' |
I don't understand the requirements either. What is jkl supposed to become? Could you express the requirements in English as well, for example “replace all blank lines by a fixed multi-line text” or “replace all blank lines by a blank line preceded by a copy of the next line”?
|
|
| May 24, 2011 at 9:12 | history | tweeted | twitter.com/#!/StackUnix/status/72953132132478976 | ||
| May 24, 2011 at 5:50 | answer | added | Jonathan Leffler | timeline score: 2 | |
| May 24, 2011 at 5:44 | answer | added | Michael Mrozek | timeline score: 3 | |
| May 24, 2011 at 5:41 | comment | added | Michael Mrozek |
Is the last line supposed to stay jkl?
|
|
| May 24, 2011 at 5:38 | history | asked | Peter Grill | CC BY-SA 3.0 |