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

Bug#944437: RFS: rpl/1.0-3 [QA] -- replace strings in files



On Sun, Nov 10, 2019 at 10:33:06PM +0100, Adam Borowski wrote:
> And the tool doesn't seem to work either:
> .----
> [~/tmp/pkg/some-other-random-package/debian]$ rpl Package Pąckagę *
> 
> rpl: Replacing "Package" with "Pąckagę" (case sensitive; partial words matched)

Alas, it looks like mutt fails to escape a lone dot (ie, SMTP terminator).

The output was:
.----
| $ rpl Package Pąckagę *
| 
| rpl: Replacing "Package" with "Pąckagę" (case sensitive; partial words matched)
| .
| rpl: could not guess encoding; using locale default 'UTF-8'
| 
| rpl: Could not replace /tmp/.tmp.yl3o48fk with changelog; error: [Errno 18] Invalid cross-device link: '/tmp/.tmp.yl3o48fk' -> 'changelog'
| .
| rpl: Could not replace /tmp/.tmp.df0h2nph with control; error: [Errno 18] Invalid cross-device link: '/tmp/.tmp.df0h2nph' -> 'control'
| ......
| rpl: A total of 0 matches replaced in 8 files searched
`----

-- 
⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol,
⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month.
⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake,
⠈⠳⣄⠀⠀⠀⠀ etc), let the drink age at least 3-6 months.


Reply to: