I've got 4000 html files pulled from a windows server.
how do I convert the file references in those HTMLs to all uppercase?
Currently code looks like
<img src="/img/abcdefg.GIF">
it needs to look like
<img src="/img/ABCDEFG.GIF">
in several spots per page, for all 4000 html files.
bum-p
are u retarded OP?
why do you use computers?
If i help you do you promise to cancel your electricity bill?
>>60700689
sure :^)
>>60700563
http://www.antlr.org/
Fuck, you could do it with simple regex some language.
Probably even with just some XSL transformation thing.
cat filename | do bunch of other shit here | awk -F "/" '{print $1 "/" $2 "/" toupper($3) }' | awk -F "." '{print $1 "." tolower($2) }' > newfilename | do bunch of other shit here
>>60700563
Use regular expressions.
>>60701208
https://stackoverflow.com/a/1732454
>>60700563
Hire a pajeet do to it for you.
write a python script to >>60701208
>>60700563
Thats shit is easy, put all in one folder use find and replace in any text editor, apply to folder. Done