bug-gnu-utils
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]