Skip to content

malex984/msrp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b4e14bd · Nov 17, 2014

History

69 Commits
Dec 21, 2010
Apr 22, 2014
Apr 22, 2014
Jan 28, 2011
Dec 21, 2010
Nov 17, 2014
Dec 16, 2010
Jul 9, 2011
Dec 22, 2010
Dec 16, 2010
Nov 25, 2008
Dec 22, 2010
Dec 21, 2010

Repository files navigation

msrp by Rudi Cilibrasi <[email protected]>

The Meta Search and Replace (msrp) is a simple utility that lets you
quickly rename symbols or functions or classes or anything using
Perl 5 compatible regular expressions.  msrp is a time saver because it
applies your substitution to both the contents of files as well as the
filenames themselves.  This means that msrp can be used in most modern
programming languages and programming frameworks where filenames (part
of file metadata) are used to indicate certain correspondances with
source code symbols.  If the filenames and source symbols must be
kept consistent or changed consistently, then msrp is the ideal tool.
Most languages that support modules embedded in filesystems also have
this same kind of semantic entanglement.

Here are some examples of languages or frameworks that can benefit from
msrp functionality:

C/C++ programming (.h files are usually named similar to type names)
Ruby on Rails (model names must match model filenames, same with views)
Java programming (renaming classes via regular expression en masse)
Debian packaging ( cp -rv ../debian . &&  msrp oldpkgname newpkgname debian/ )




Important Changes in 0.9.5:
===========================

New Maintainers since 2010: Oleksandr Motsak and Aurélien Gāteau (see AUTHORS)

New Copyright: Simplified BSD License (see COPYING)

New Homepage: http://msrp.github.com

New Mailing Group (msrp-tool) for your feedback: http://groups.google.com/group/msrp-tool

Source repository: http://github.com/malex984/msrp