1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Dave Nebinger wrote: |
5 |
|
6 |
>> I'm writing a sed script that will parse the *broken* output of |
7 |
>> man2html. I say broken, because the output isn't W3C compliant (html |
8 |
>> OR xhtml). I'd like to be able to modify it so that the final outcome |
9 |
>> is XHTML 1.0 compliant. I'm running into a problem where the output |
10 |
>> doesn't close the <p>, <dt>, or <dd> tags. |
11 |
> |
12 |
> |
13 |
> Won't html tidy do this kind of thing for you? |
14 |
> |
15 |
> It would seem to be easier to reuse an existing tested tool rather |
16 |
> than trying to roll your own... |
17 |
> |
18 |
> |
19 |
Possibly. Didn't know about that. I'll look into it. |
20 |
|
21 |
- -- |
22 |
gentux |
23 |
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge' |
24 |
|
25 |
gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40 9795 2D81 924A |
26 |
6996 0993 |
27 |
-----BEGIN PGP SIGNATURE----- |
28 |
Version: GnuPG v1.4.1 (GNU/Linux) |
29 |
|
30 |
iD8DBQFDOMMTLYGSSmmWCZMRAokvAJoDPchPx83taV9a70hSODam/1SBMwCdGDtU |
31 |
JGHSO7g47BfuV3JNSGjsK7A= |
32 |
=41BE |
33 |
-----END PGP SIGNATURE----- |
34 |
|
35 |
-- |
36 |
gentoo-user@g.o mailing list |