rrpl

Crates.iorrpl
lib.rsrrpl
version0.1.0
sourcesrc
created_at2022-05-02 08:58:54.000143
updated_at2022-05-02 08:58:54.000143
descriptionA command line tool for replacing strings in files.
homepage
repositoryhttps://github.com/khrynczenko/rrpl
max_upload_size
id578950
size163,509
Krzysztof Hrynczenko (khrynczenko)

documentation

README

rrpl

GitHub Workflow Status

What is rrpl

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.

How to use

> 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

How to build

cargo build

Commit count: 19

cargo fmt