On Mon, 23 Apr 2007, Bo Peng wrote:

 Or on a wiki page. ... PS. And for those of us who are paranoid,  ...

I actually though of this, but did not do that because of the same concern. Anyway, rename.sh is in svn now and a script is ready to do the change, which basically generates and executes a huge list of perl -pi.bak -e 's/([^|\W])old/\1new/g' file

SVN is more convenient for us here. As for using a wiki page, I don't think the security would have been a big issue (if we'd remember to check the history to see what changes had been made).

The big problem would number of lines, about a thousand, which makes editing painful from a browser. For fun I split the files on the page into subdirectories (this also makes it easier to look at the list IMHO).

Slightly better, but with other drawbacks. An interesting exercise anyway, and I felt an itch to try and create a script or something that within a wiki page can automatically generate a nice tree list of all the source files. Maybe doxygen would be good for this.

And LyX users might be awed by seeing the list of files that create their beloved application ;-)

/C

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to