/[Frey]/trunk/bin/rename-method.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/bin/rename-method.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 554 - (show annotations)
Thu Nov 27 17:37:52 2008 UTC (14 years, 2 months ago) by dpavlin
File MIME type: application/x-sh
File size: 213 byte(s)
cleanup
1 #!/bin/sh
2
3 from='params_form';
4 to='as_markup'
5
6 echo "rename method $from -> $to"
7
8 grep -lr $from lib t etc | xargs --verbose -i sh -c "perl -p -i -n -e 's{(sub |->|/)$from}{\1$to}g' {}" && (
9 svk diff | vi -R -
10 )

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26