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
Architecture:
Optimized for aarch64 (ARM64) architecture. It can be used on AWS Graviton instances, as well as Raspberry Pi 4 and newer.

How to Install

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

Packages

replace-0.0.4-1.amzn2.aarch64 [8 KiB] Changelog by Danila Vershinin (2024-12-06):
- upstream release v0.0.4
replace-0.0.2-1.amzn2.aarch64 [8 KiB] Changelog by Danila Vershinin (2024-12-06):
- upstream release v0.0.2
replace-0.0.1-1.amzn2.aarch64 [8 KiB] Changelog by Danila Vershinin (2019-05-22):
- initial release

Subscribe