Crates.io | rrpl |
lib.rs | rrpl |
version | 0.1.0 |
source | src |
created_at | 2022-05-02 08:58:54.000143 |
updated_at | 2022-05-02 08:58:54.000143 |
description | A command line tool for replacing strings in files. |
homepage | |
repository | https://github.com/khrynczenko/rrpl |
max_upload_size | |
id | 578950 |
size | 163,509 |
rrpl (rust replace) is a CLI application for replacing text matches inside a file. It's CLI interface is meant to mimic other tool, i.e., rpl which is available on debian distributions.
> rrpl --help
rrpl 0.1.0
Krzysztof Hrynczenko <jeniopy@gmail.com>
USAGE:
rrpl [OPTIONS] <FROM> <TO> [FILE]...
ARGS:
<FROM>
<TO>
<FILE>...
OPTIONS:
-b, --backup Rename original file to file~ before replacing
-h, --help Print help information
-i, --ignore-case Match case-insensitively
-p, --prompt Prompt confirmation before changing the file
-q, --quiet Disable logging to stdout/stderr
-V, --version Print version information
-w, --whole-words Match on word boundaries only
cargo build