Reading man pages without man.

zcat /usr/share/man/man1/ls.1.gz | groff -Tascii -man | less -R

This unzips and cats a compressed man page through groff to format it, and then to less so that you can scroll. The -R, which you may or may not need, prevents certain ANSI escape sequences from showing as “ESC [ …” garble (the same situation with git is described here).


References:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s