This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)
> 
> 
> 
> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]