[Glastonbury] html wc
Ian Dickinson
i.j.dickinson at gmail.com
Sat Jul 2 12:44:48 BST 2005
Hi Al,
> How about dumping the html through lynx (the text mode browser) and
> counting the results.
That's a good suggestion!
> alan at wopr:~ $ lynx --dump --nolist http://popey.com/blog/ | wc
> 138 520 3813
>
> Yup, that appears to work.
Concur.
> That help? Word indeed.. tsk! ;)
Yes, thanks. That handles the html nicely.
Any other suggestions out there? What I'm actually trying to do is wc
a docbook document. So I can process the docbook to html, then use
Al's method to wc that. That gives me a working solution, but I'm
always interested to know if there are other tricks I'm missing.
Thanks,
Ian
More information about the Glastonbury
mailing list