This is the mail archive of the
mailing list for the Cygwin project.
RE: man redirect error
On Wed, 2012-01-04 at 08:51 -0600, Thrall, Bryan wrote:
> Perhaps the OP was looking for something like apropos or whatis?
> Given that man already pipes its output through a pager, the OP could just use the MANPAGER environment variable to do what he wants:
> $ MANPAGER=head man gcc
> GCC(1) GNU GCC(1)
> gcc - GNU project C and C++ compiler
> gcc [-c|-S|-E] [-std=standard]
> [-g] [-pg] [-Olevel]
> Hope this helps,
> Bryan Thrall
> Principal Software Engineer
> FlightSafety International