search_replace

Crates.iosearch_replace
lib.rssearch_replace
version0.1.1
sourcesrc
created_at2019-06-12 18:27:38.664352
updated_at2019-06-12 19:16:39.634338
descriptionSearch and replace utility
homepage
repositoryhttps://github.com/DoumanAsh/sr
max_upload_size
id140641
size17,798
Douman (DoumanAsh)

documentation

README

sr

Build status Build Status Crates.io

Simple utility to search and replace within files

Download links

Usage

USAGE:
    sr [options] <pattern> <replace> [file]...

OPTIONS:
    -i, --in-place [SUFFIX] - Modifies files in place. If SUFFIX is specified creates creates backup with it.
    -q, --quiet             - Specifies silent mode. Default false.
    -h, --help              - Prints this help message.

ARGS:
    <pattern> - Specifies regex to look for.
    <replace> - Specifies expression to replace with. captured values like $1 are allowed
    [file]... - Optionally specifies list of files. If omitted reads from STDIN.
Commit count: 4

cargo fmt