Description of problem: ----------------------- Seems that rpl -w option don't takes into account punctuation signs as word boundaries Version-Release number of selected component (if applicable): ------------------------------------------------------------- rpl-1.5.5-2.fc11 How reproducible: ----------------- allways Steps to Reproduce: ------------------- #!/bin/bash #creating data file echo ".rande" > test2.txt #running replace (with -w option) rpl -w "rande" "grande" test2.txt #word not changed (grep returns 0 lines) grep grande test2.txt; #grep catch correctly word boundaries grep -w rande test2.txt; Actual results: --------------- change not made '.rande' -> rpl -w "rande" "grande" -> '.rande' Expected results: ----------------- 'rande' replaced by 'grande' '.rande' -> rpl -w "rande" "grande" -> '.grande' Additional info: ---------------- none
*** This bug has been marked as a duplicate of bug 519321 ***
(In reply to comment #1) > > *** This bug has been marked as a duplicate of 519321 *** I don't inspected the code, but the behavior of this bug and bug 519321 is distinct. In bug 519321 sometimes ocurr an incorrect replacement. In this bug always does an invalid replacement when word boundary contains a punctuation sign.
OK, I see now it's a different problem but it is presumably related and in any case this stuff would be better filed upstream.
added the info to https://sourceforge.net/tracker/index.php?func=detail&aid=2845190&group_id=189512&atid=929622