Timeline for How can I achieve portability with sed -i (in-place editing)?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 15, 2022 at 19:06 | history | edited | Zombo | CC BY-SA 4.0 | deleted 204 characters in body |
| Mar 18, 2019 at 16:44 | history | edited | JdeBP | CC BY-SA 4.0 | From the commentary. |
| Oct 16, 2016 at 8:31 | comment | added | Wildcard | There's nothing Vim-specific here. This is fully compliant with POSIX specifications for ex, except that implementations are not required to support multiple -c flags. For definite portability I would use printf '%s\n' 1i '<!DOCTYPE html>' . x | ex file | |
| Apr 17, 2016 at 2:05 | history | answered | Zombo | CC BY-SA 3.0 |