Donate Share

GnuWin

Tracker: Bugs

5 rpl v1.4.1 erases target file, instead of replacing. - ID: 2019641
Last Update: Comment added ( gnuwin32 )

I attempted to use rpl and instead of replacing the matches it erased the
target file.

It seems to correctly match strings as it will report the correct number of
matches within a file. There is something obviously wrong with the
replacing.

To reproduce:

test.txt
BEGIN
asdf
END

rpl -v "a" "b" test.txt

This does not occur in v1.4.0.2


Denali ( dtandoor ) - 2008-07-16 15:40

5

Closed

Fixed

GnuWin32

Binaries

Rpl

Public


Comment ( 1 )

Date: 2008-07-19 12:31
Sender: gnuwin32Project AdminAccepting Donations


This bug has been fixed. A new release is available through
http://gnuwin32.sourceforge.net/



Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2008-07-19 12:31 gnuwin32
resolution_id None 2008-07-19 12:31 gnuwin32
category_id Developer 2008-07-19 12:31 gnuwin32
close_date - 2008-07-19 12:31 gnuwin32