bug-sed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54113: Fwd: sed leaving temporary files behind


From: Paul Eggert
Subject: bug#54113: Fwd: sed leaving temporary files behind
Date: Tue, 22 Feb 2022 09:17:12 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Forwarding this from bug-gnu-utils.
--- Begin Message --- Subject: sed leaving temporary files behind Date: Tue, 22 Feb 2022 09:29:52 +0000 (UTC)
Hi,I'm using gnu win32 ver 4.2.1 of sed.When using -i option, sed always leaves 
behind temporary files named sed* in the directory where it's being called. 
(ie. NOT in the directory where the edited file resides.)Each successful run 
leaves 1 temp file behind.
When I supply a file extension using -itmp, the expected file backup gets 
created in the directory where the edited file resides. The temporary files are 
still left over in the execution directory.
>dir sed*
 Directory of C:\GitHub\merlin-etl\merlinDBScripts\dbChanges\sql\prod
File Not Found
>sed -i "s/ad/asdf/" \temp\1.csv
>dir sed*
 Directory of C:\GitHub\merlin-etl\merlinDBScripts\dbChanges\sql\prod
22. 02. 2022  10:28                47 sedhJDLA6               1 File(s)         
    47 bytes               0 Dir(s)  173 949 931 520 bytes free

Thank you,Daniel Adam

--- End Message ---

reply via email to

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