man redirect error
Reid Thompson
Reid.Thompson@ateb.com
Wed Jan 4 20:13:00 GMT 2012
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)
>
>
>
> NAME
> gcc - GNU project C and C++ compiler
>
> SYNOPSIS
> gcc [-c|-S|-E] [-std=standard]
> [-g] [-pg] [-Olevel]
>
> Hope this helps,
> --
> Bryan Thrall
> Principal Software Engineer
> FlightSafety International
> bryan.thrall@flightsafety.com
>
>
http://cygwin.com/cgi-bin2/package-grep.cgi?grep=apropos
More information about the Cygwin
mailing list