0.0
The project is in a healthy, maintained state
replaces string with other string from files
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

 Project Readme

dorian-replace

Replace text in files.

Install

gem install dorian-replace

Also included in the aggregate gem:

gem install dorian

Usage

replace from to [file ...]

Run replace -h for generated option details and replace -v for the installed version.

Notes

  • If no files are passed, reads file paths from stdin. Directories are skipped.

Examples

Replace text in Markdown files

replace old-name new-name README.md docs/*.md

Use with git grep

git grep -l old-name | replace old-name new-name