Skip to content

malex984/msrp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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