Letter R

replace - The sane person's alternative to sed

Website: https://github.com/dvershinin/replace
License: BSD
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
Distro notes:
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

How to Install

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

Packages

replace-0.0.4-1.el9.x86_64 [14 KiB] Changelog by Danila Vershinin (2024-12-06):
- upstream release v0.0.4

Subscribe