[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sed --in-place creates new file
From: |
Jérémy Amiot |
Subject: |
Sed --in-place creates new file |
Date: |
Sun, 5 Apr 2020 11:57:20 +0200 |
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.
- Sed --in-place creates new file,
Jérémy Amiot <=