Tool for extracting plain text from TeX and LaTeX sources (source files)
opendetex_source-2.8.11-1-source
OpenDetex is a program to remove TeX constructs from a text file. It recognizes the \input command.
This program assumes it is dealing with LaTeX input if it sees the string "\begin{document}" in the text. It recognizes the \include and \includeonly commands.