GetPageSpeed Extras

replace

How to install replace (aarch64)

The sane person's alternative to sed

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

Install

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

Architecture

Optimized for aarch64 (ARM64) architecture. It can be used on AWS Graviton instances, as well as Raspberry Pi 4 and newer.

RPMs

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

Subscribe