D
dutch disCo
Hi all,
the case seems to be easy-to-solve, but since I'm kind of new to perl I
have no idea how to cope:
I run:
find . -name "index.html"
which results in something like this:
../0223/html/index.html
../0357/html/index.html
and so forth.
Now, I want these lines to become:
<a href="./0223/html/index.html">./0223/html/index.html</a>
<a href="./0357/html/index.html">./0357/html/index.html</a>
respectively, and store the modified results in a file.
How to do this?
Any help appreciated
Best regards
dd
the case seems to be easy-to-solve, but since I'm kind of new to perl I
have no idea how to cope:
I run:
find . -name "index.html"
which results in something like this:
../0223/html/index.html
../0357/html/index.html
and so forth.
Now, I want these lines to become:
<a href="./0223/html/index.html">./0223/html/index.html</a>
<a href="./0357/html/index.html">./0357/html/index.html</a>
respectively, and store the modified results in a file.
How to do this?
Any help appreciated
Best regards
dd