----8<-------------
I use doxygen help me create a document for a project which
contain thousands of .html files and spend about 2 hours.
But when I open the index.html I find that the title I used is
wrong So I must modify this title.
I come here to get some help that I want use a perl program
search the title in all of the project's files and change it to the
right title.
For example,The wrong title is "shareaza" and the right is
"ACE".
----8<-------------
You've given the list 0 indication that you actually attempted to write
any Perl yourself. Normally people ignore requests like this, but since
I got flamed for a similar action on clpm and I'm waiting for something
to complete here's a starter:-
Off the command line:-
perl -i -pe "s/shareaza/ACE/ if /TITLE/" YourFile.html
Mind the -i though (get more details from perlrun).
Since you have 'thousands of .html files' you might want to write your
own wrapper around it, and that gao is an exercise left for you.
Have fun.
Just in
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs