Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-30 Thread Billy Holmes
gentuxx wrote: concerned about that. My main concern was validation, and htmltidy gives me that. open it in vim, and do the autoindent function (select all, hit =) -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-27 Thread Mariusz Pękala
On 2005-09-26 21:40:43 -0700 (Mon, Sep), gentuxx wrote: There is the '-i' option, but the indentation is minimal. I tend to be pretty anal about indentation. But like I said, I'm not really concerned about that. My main concern was validation, and htmltidy gives me that. You may use sed

[gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm writing a sed script that will parse the *broken* output of man2html. I say broken, because the output isn't W3C compliant (html OR xhtml). I'd like to be able to modify it so that the final outcome is XHTML 1.0 compliant. I'm running into a

Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread Dave Nebinger
I'm writing a sed script that will parse the *broken* output of man2html. I say broken, because the output isn't W3C compliant (html OR xhtml). I'd like to be able to modify it so that the final outcome is XHTML 1.0 compliant. I'm running into a problem where the output doesn't close the p, dt,

Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Nebinger wrote: I'm writing a sed script that will parse the *broken* output of man2html. I say broken, because the output isn't W3C compliant (html OR xhtml). I'd like to be able to modify it so that the final outcome is XHTML 1.0

Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread Dave Nebinger
Well, while I enjoy a good challenge (especially sed, awk, or perl), htmltidy does the trick quite nicely. It doesn't indent the way that I do, but my first priority was making the output W3C compliant, and htmltidy's output is that. I haven't used it in awhile, but there may be some command

Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-26 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Nebinger wrote: Well, while I enjoy a good challenge (especially sed, awk, or perl), htmltidy does the trick quite nicely. It doesn't indent the way that I do, but my first priority was making the output W3C compliant, and htmltidy's output