David A. Black wrote: > > Create a new project (copland), then checkout the old one, then: > > cd copeland > ruby -pi.bak -e 'gsub(/(copeland)/) { $1.delete("Ee") }' `find . -type file` > rm `find . -type file -name "*.bak" # if it worked ok > > then import into copland :-) > > > David > Thanks for the great one-liner, David. Seems like I'm always surprised by the power of Ruby-from-the-commandline. I wound up writing a simple script to do it, though, since I also needed to rename files and directories if they were called /[Cc]opeland/. So, I've submitted a new project proposal to RubyForge (called Copland, this time, instead of Copeland...my only concern is that someone will think it's a game about law enforcement...) As soon as the project is approved, I'll check in the refactored sources and start anew. (Tom, that means that as soon as the Copland factory is given the green light, you can wipe the Copeland one from the face of the earth, CVS repository and all.) Here's to lousy spelling... - Jamis -- Jamis Buck jgb3 / email.byu.edu http://www.jamisbuck.org/jamis ruby -h | ruby -e 'a=[];readlines.join.scan(/-(.)\[e|Kk(\S*)|le.l(..)e|#!(\S*)/) {|r| a << r.compact.first };puts "\n>#{a.join(%q/ /)}<\n\n"'