GetPageSpeed Extras

replace

View this package for all CentOS/RHEL versions →

How to install replace in CentOS/RHEL 10 (x86_64)

The sane person's alternative to sed

License: BSD https://github.com/dvershinin/replace

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -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

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
replace-0.0.4-1.el10.x86_64 13 KiB 2025-01-16 Danila Vershinin
- upstream release v0.0.4

Subscribe