Timeline for insert variable text after another variable text on a specific line
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 19, 2016 at 16:02 | comment | added | Rob | Yes you are correct :). | |
| May 18, 2016 at 21:39 | comment | added | Gilles 'SO- stop being evil' |
Note that all of your proposals fail if the value of VAR contain certain characters. You've discussed some of the problems but not all. In addition to /, all characters that are special in regexps will fail (the value of VAR is interpreted as a regexp, or in some of the commands the result of the split+glob operator on the value because you forgot the double quotes around shell variable substitutions).
|
|
| May 18, 2016 at 13:50 | history | edited | Rob | CC BY-SA 3.0 |
added 276 characters in body
|
| May 18, 2016 at 13:30 | history | edited | Rob | CC BY-SA 3.0 |
added 1596 characters in body
|
| May 18, 2016 at 13:22 | history | edited | Rob | CC BY-SA 3.0 |
added 1596 characters in body
|
| May 18, 2016 at 13:08 | history | answered | Rob | CC BY-SA 3.0 |