Timeline for Adding a line of text to multiple files
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 19, 2022 at 17:33 | comment | added | Cheetaiean | Figured it out: the s means substitute the phrase in /... / for the second phrase | |
| Aug 19, 2022 at 17:23 | comment | added | Cheetaiean | What does /s mean in the sed command and why is <\/VirtualHost> there twice ? | |
| Jun 28, 2013 at 11:06 | comment | added | Alexander |
Choosing a different character than / for the sed expression is cleaner, since you don't have to escape the slash: 's:</VirtualHost>:yourlinehere\n</VirtualHost>:'
|
|
| Nov 23, 2011 at 16:27 | history | edited | Chris Down | CC BY-SA 3.0 |
fix command as req'd in comments
|
| Nov 23, 2011 at 14:26 | history | edited | lcipriani | CC BY-SA 3.0 |
added 213 characters in body
|
| Nov 23, 2011 at 14:14 | comment | added | lcipriani | You are rigth @ChrisDown. Please, improve my answer. | |
| Nov 14, 2011 at 15:36 | comment | added | Chris Down | Do not parse ls. Use a glob instead. mywiki.wooledge.org/ParsingLs | |
| Aug 24, 2010 at 19:31 | vote | accept | gabe. | ||
| Aug 24, 2010 at 19:29 | comment | added | gabe. | awesome... this is just what I was looking for. | |
| Aug 24, 2010 at 19:23 | history | answered | lcipriani | CC BY-SA 2.5 |