Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here's an actual quantitative breakdown of GNOME's DocBook manuals in 2005:

http://blogs.gnome.org/shaunm/2005/10/21/how-much-docbook/

click to hide/show revision 2
Added how to do it yourself

Here's an actual quantitative breakdown of GNOME's DocBook manuals in 2005:

http://blogs.gnome.org/shaunm/2005/10/21/how-much-docbook/

Edit: I've long-since lost the script I originally wrote for this, but I recreated it fairly easily using teh awesome xmlstarlet tool. (It's just a yum install away.)

For doc in YOUR_DOCS_HERE; do xmllint --xinclude --noent "$doc" | xmlstarlet sel -t -m '//*' -v 'local-name(.)' -n -; done | sort | uniq -c

Here's an actual quantitative breakdown of GNOME's DocBook manuals in 2005:

http://blogs.gnome.org/shaunm/2005/10/21/how-much-docbook/

Edit: I've long-since lost the script I originally wrote for this, but I recreated it fairly easily using teh the awesome xmlstarlet tool. (It's just a yum install away.)

For doc in YOUR_DOCS_HERE; do xmllint --xinclude --noent "$doc" | xmlstarlet sel -t -m '//*' -v 'local-name(.)' -n -; done | sort | uniq -c

Here's an actual quantitative breakdown of GNOME's DocBook manuals in 2005:

http://blogs.gnome.org/shaunm/2005/10/21/how-much-docbook/

Edit: I've long-since lost the script I originally wrote for this, but I recreated it fairly easily using the awesome xmlstarlet tool. (It's just a yum install away.)

For doc in YOUR_DOCS_HERE; YOUR-DOCS-HERE; do xmllint --xinclude --noent "$doc" | xmlstarlet sel -t -m '//*' -v 'local-name(.)' -n -; done | sort | uniq -c

Here's an actual quantitative breakdown of GNOME's DocBook manuals in 2005:

http://blogs.gnome.org/shaunm/2005/10/21/how-much-docbook/

Edit: I've long-since lost the script I originally wrote for this, but I recreated it fairly easily using the awesome xmlstarlet tool. (It's just a yum install away.)

For doc in YOUR-DOCS-HERE; do
   xmllint --xinclude --noent "$doc" | xmlstarlet sel -t -m '//*' -v 'local-name(.)' -n -;
 done | sort | uniq -c

-c