Sed --in-place creates new file
Jérémy Amiot <[email protected]> Sun, 5 Apr 2020 11:57:20 +0200
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <CAMb0_rqGcbU74zHa1my0jC9q4mTzEDB=FQ=qYZRtukSL=xy=FA@mail.gmail.com> |
Hi, Using sed for windows version 4..2.1 (url : http://gnuwin32.sourceforge.net/packages/sed.htm) sed -i "s/to/ti/" test.txt will modify test.txt (ok) but will create a new file "sedGnChQb" sed -i"" "s/to/ti/" test.txt does the same new file How to avoid sed to create a new file ? Thanks a lot.