Subscribe

How to install replace2 in CentOS/RHEL 7 (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 https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install replace2

Description

The replace package, first released way back in 1994, provides a much easier way than sed of replacing one or more strings with others in one or more text or binary files or from standard input.

RPMs

Danila Vershinin (2019-05-22) - initial release