Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu > ll > tee: write error > dk mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu > ll > dk mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu > ll > dk 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/