https://github.com/wisepythagoras/rreplace
https://github.com/wisepythagoras/rreplace
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wisepythagoras/rreplace
- Owner: wisepythagoras
- Created: 2022-12-24T00:59:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T19:28:27.000Z (almost 3 years ago)
- Last Synced: 2025-01-17T09:23:42.421Z (9 months ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rreplace
This program is inspired by sed, which I've had to use a lot of times. Unlike sed, however, this program is a lot easier to use and the regular expressions are in the format every modern programmer is familiar with.
## Usage
``` sh
git clone https://github.com/wisepythagoras/rreplace && cd rreplace
cargo build --release
```It only takes 4 arguments or 2 with the input file/string passed via stdin and the output is sent to stdout:
```
rreplace - Change occurences of a string in a file to another
Usage: rreplace
Usage: cat INPUT | rreplace > OUTPUT
```