X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0	tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
From: Reid Thompson <Reid.Thompson@ateb.com>
To: "Thrall, Bryan" <bryan.thrall@flightsafety.com>
CC: Reid Thompson <Reid.Thompson@ateb.com>,
        "cygwin@cygwin.com"	<cygwin@cygwin.com>
Subject: RE: man redirect error
Date: Wed, 4 Jan 2012 20:12:57 +0000
Message-ID: <1325707977.7212.4.camel@raker2.ateb.com>
References: <2BF01EB27B56CC478AD6E5A0A28931F203C949C7@A1DAL1SWPES19MB.ams.acs-inc.net>	 <1325687660.28537.1.camel@raker2.ateb.com>	 <786EBDA1AC46254B813E200779E7AD3601FD162A@srv1163ex1.flightsafety.com>
In-Reply-To: <786EBDA1AC46254B813E200779E7AD3601FD162A@srv1163ex1.flightsafety.com>
Reply-To: Reid Thompson <Reid.Thompson@ateb.com>
Content-Type: text/plain; charset="utf-8"
Content-ID: <5A4DEEABDBE3C742B406AC7546ADF34A@ateb.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id q04KDVmj003246

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


