I want to get only specific sections of a man page inside a shell (or Perl) script and print it.

For example, only the SYNOPSIS section of the man page.

Is there a standard way to do that?

Edit
Report