-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 59c52a5
Showing
3 changed files
with
692 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# replacer | ||
|
||
Search and replace python regular expressions within many files interactively | ||
|
||
(C) Martin Väth (martin at mvath.de). | ||
This project is under the MIT license | ||
|
||
The aim of the project is to replace regular expressions interactively | ||
in a collection of files. | ||
|
||
Its functionality is similar to the perl script `plrep` from | ||
https://github.com/vaeth/mv_perl/ | ||
as well as to the ancient python script | ||
https://github.com/vaeth/pyrep/ | ||
In a sense, it can be considered a successor of both projects, | ||
also properly dealing with replacements of expressions over multiple lines. | ||
(In the previous projects, multiple lines had only been rudimentarily | ||
implemented or not at all, respectively.) | ||
|
||
To install this script, just copy the content of bin/ into your `$PATH`. | ||
To get zsh completion, copy the content of zsh/ to your zsh's `$fpath`, | ||
perhaps `/usr/share/zsh/site-functions/`. | ||
|
||
For Gentoo, there is an ebuild in the `mv` repository | ||
(available by `app-select/eselect-repository` or `app-portage/layman`). |
Oops, something went wrong.