no, i haven't stopped working on the webpage; i spent the morning
working on making it incorporate han-wens pages, with promising
results.  there are a couple of points on which i'm stymied.  i
emailed a perl guru friend about them but haven't heard back, so i
thought i'd forward my queries here in case anyone can answer them.



-----BEGIN PGP SIGNED MESSAGE-----

i need to take a bunch of these sorts of things in several files:

<H1><A NAME="NAME">NAME

</A></H1>

and turn them into this:

<H1><A NAME="NAME">NAME</A></H1>


i've been trying this:

perl -pi -e 's{\n*</A>}{</A>}g' foo.html

to no effect.  what should i be doing instead?

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBNXgstDnaR8Cs0X0pAQF6wQQAvD+igJix/p5Fd2O7UK/Utzij8Eu3u0FA
MNgNLahjPB2530G6H5HxnlqChnR3Y4NZnAoAQCmd/RAzrh3nCL8d+ACu8Sj7f3Td
Jkmtt+/taKq9yb96f1VJP/vBc/H1gMM3J8+vI3puMOqdWMIeYFyyANaClL2oxDU9
HBSWof/rokg=
=z67u
-----END PGP SIGNATURE-----




-----BEGIN PGP SIGNED MESSAGE-----

this is all part of modifying a set of documentation files so they can
be incorporated into an htmlpp-generated website.  the most important
thing i need to do is:

for docfile in `ls Documentation/out-www/*.html` ; do
    perl -pi -e 's{ *(<TITLE>)(.*$)}{\n.page $docfile = $2 \n.pagetitle $2}g'\
     $docfile
done

but the perl command has no idea what $docfile is.  is there any way
to make it aware of it?

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBNXgvUjnaR8Cs0X0pAQFDrAP+KMO7FKANFB80tT6rs/rTzWRG8y40CFzj
1uHJ1M0hcuR6G0QwpeJxuLXW5OJZhvxDvqqcRM2hzT5FAiocucXC6qy7O77UXaKh
VD9vjCPaFk76n3psGtp4dgq921H2rqzDb/+jbeJElTJ0WvEXdiomegblWs/4yqgg
Uz83gy0Mt6I=
=A/hm
-----END PGP SIGNATURE-----


Reply via email to