delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/04/15:13:36

X-Recipient: archive-cygwin AT delorie DOT 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 DOT Thompson AT ateb DOT com>
To: "Thrall, Bryan" <bryan DOT thrall AT flightsafety DOT com>
CC: Reid Thompson <Reid DOT Thompson AT ateb DOT com>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <1325687660 DOT 28537 DOT 1 DOT camel AT raker2 DOT ateb DOT com> <786EBDA1AC46254B813E200779E7AD3601FD162A AT srv1163ex1 DOT flightsafety DOT com>
In-Reply-To: <786EBDA1AC46254B813E200779E7AD3601FD162A@srv1163ex1.flightsafety.com>
Reply-To: Reid Thompson <Reid DOT Thompson AT ateb DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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 DOT thrall AT flightsafety DOT com
> 
> 

http://cygwin.com/cgi-bin2/package-grep.cgi?grep=apropos


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019