Subscribe

How to install replace (x86_64)

The sane person's alternative to sed

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install replace

Description

The replace package ships a binary that follows deprecated MySQL's replace syntax. It's an alternative to sed which doesn't require you to remember the syntax. Usage is same as MySQL's replace program: replace [-s] [-v] from to [from to ...] [--] [files...] For example: replace foo bar -- test.txt cat test.txt | replace foo bar

RPMs

Danila Vershinin (2024-12-06) - upstream release v0.0.4