links -dump asdf.html > asdf.txt pandoc -f html -t plain input.html -o output.txt