LeMP is an open-source Lisp-inspired macro processor for C#. It helps you avoid writing boilerplate and repetitive code, and it provides a framework in which you can run code-generation algorithms at compile-time.
This is the library version! The command-line tool package is called...
This package contains the below Activities.
FindReplace - Find and replace the entire document
RemoveDisplayLineNumber - To remove the display line number
WordStatistics- Can get the WordCount , Total Pages,Total Lines,Total Characters,Total CharactersWithSpaces and Total Paragraphs
These are the compiled macros from the "Macro Template Project" that can be downloaded from the netmacros.net website. The macros themselves are not interesting, it is the project that creates them that you want to look at. I've uploaded them so you can look at the result.