Skip to content

Commit

Permalink
Initial commit from scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeth committed Apr 7, 2018
0 parents commit 59c52a5
Show file tree
Hide file tree
Showing 3 changed files with 692 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
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`).
Loading

0 comments on commit 59c52a5

Please sign in to comment.