How to use the Terminal application to search or print a man page I often need to search or print a man page. Executing the man [-a index] name command invokes a readonly navigable viewer of name[(index)]. For example, the command below displays open(1).

man  open


The command below displays open(n). 

man  -a  n  open


Is there a way to use the Terminal application to involve a viewer where I can search and/or print a man page?
man -t yourcommand | open -fa "Preview"


where yourcommand is the one you want the man page of. You can then use any of the normal search functionality in Preview and print the document as a normal PDF.