Если вы просто хотите вывести страницу в печатном виде, это можно сделать с помощью текстового -браузера (, такого как lynx, w3m, elinks ). У них есть опция «-dump».
Вот начало этой страницы с "рысь -дамп":
[1]LINFO
The cat Command
cat is one of the most frequently used [2]commands on [3]Unix-like
[4]operating systems. It has three related functions with regard to
text files: displaying them, combining copies of them and creating new
ones.
cat's general syntax is
cat [options] [filenames] [-] [filenames]
The square brackets indicate that the enclosed items are optional.