delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/01/06/08:56:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_40,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: man redirect error
Date: Fri, 6 Jan 2012 07:56:00 -0600
Message-ID: <2BF01EB27B56CC478AD6E5A0A28931F203C953F4@A1DAL1SWPES19MB.ams.acs-inc.net>
In-Reply-To: <1325707977.7212.4.camel@raker2.ateb.com>
References: <1325707977 DOT 7212 DOT 4 DOT camel AT raker2 DOT ateb DOT com>
From: "Nellis, Kenneth" <Kenneth DOT Nellis AT acs-inc DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 q06DuINn029038

On Wed, 2012-01-04 at 08:51 -0600, Thrall, Bryan wrote:

> Perhaps the OP was looking for something like apropos or whatis?
> 
> <snip/>

In this case, the OP was simply using "head" as an example to
show how piping the output of man was generating an unexpected
error. As you all know, Unix is rich in text processing tools,
so it shouldn't be a surprise that one might want to do some
processing of man output. Further experimentation with piping
man output suggests that the error presents itself when the
process receiving the man output stream terminates (as with 
head) before man is done writing it.

--Ken Nellis

- Raw text -


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