GNU M4 - GNU M4 is an implementation of the m4 macro preprocessor.
WordCounter.net - Count words, sentences, paragraphs etc.
XMLStarlet - XMLStarlet Command Line XML Toolkit
Word Count Tools - The must-have free word counter that provides an extensive report about the word count, character count, keyword density, readability & many other useful stats.
xmllint - command line XML tool
NimbleText - NimbleText is a text manipulation and code generation tool available online or as a free download.