/[Frey]/trunk/bin/rename-class.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-class.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 467 - (show annotations)
Wed Nov 19 19:28:09 2008 UTC (15 years, 5 months ago) by dpavlin
File MIME type: application/x-sh
File size: 248 byte(s)
rename class with experimental script
1 #!/bin/sh
2
3 from='Frey::Dumper'
4 to='Frey::View::Dumper'
5
6 from='Frey::JSON'
7 to='Frey::View::JSON'
8
9 echo "rename class $from -> $to"
10
11 grep -lr $from lib t etc | xargs --verbose -i sh -c "perl -p -i -n -e 's/$from/$to/' {}" && (
12 svk diff | vi -R -
13 )
14

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26