delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/08/09:31:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: Christian Weinberger <christian DOT weinberger AT directbox DOT com>
Subject: Re: tee piping to head gives error message (also with snapshot 20050206)
Date: Tue, 8 Feb 2005 14:28:44 +0000 (UTC)
Lines: 29
Message-ID: <loom.20050208T135451-658@post.gmane.org>
References: <NUTMEGWEsBk31TZ14eB000006d3 AT NUTMEG DOT CAM DOT ARTIMI DOT COM> <NUTMEGBZTW5k1Ed28kI000006d7 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: main.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 62.180.31.25 (Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.5) Gecko/20041122 Firefox/1.0)
X-Gmane-MailScanner: Found to be clean
X-Gmane-MailScanner: Found to be clean
X-MailScanner-From: goc-cygwin AT m DOT gmane DOT org
X-MailScanner-To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Here's
> a test on a file with 4207 lines in it.....
> 
> dk <at> mace /artimi/firmware> cat diffs.txt  | tee tmp2.txt  | head -4100 >
/dev/nu
> ll
> tee: write error
> dk <at> mace /artimi/firmware> cat diffs.txt  | tee tmp2.txt  | head -4100 >
/dev/nu
> ll
> dk <at> mace /artimi/firmware> cat diffs.txt  | tee tmp2.txt  | head -4100 >
/dev/nu
> ll
> dk <at> mace /artimi/firmware> cat diffs.txt  | tee tmp2.txt  | head -4100 >
/dev/nu
> ll

I reproduced this bahaviour with the most recent snapshot 20050206.

$ cat /usr/share/doc/mutt-1.4.1/manual.txt | tee tmp2.txt | head -4100
     > /dev/null
tee: standard output: Broken pipe
tee: write error

Unfortunately, the recent fix of cgf in the piping code seems not to fix this
isssue.

Regards,
Christian


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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