delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/18/08:36:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:reply-to:to:message-id
:subject:mime-version:references:content-type
:content-transfer-encoding; q=dns; s=default; b=cZnfZ5gtHCFODj5N
B9r7zuIC4Tj5I/LPkCIhcU6USAdWXkFVU+PWsqXo95Wfthv1xgJcYpdeAvH3IrWl
FjlLw3meEl2Fi1WYy2gqIkyzcEYqZcDGqQK3045Ek5+iRQGEdsaNfgjjPRjFaN6k
9sqPl4e+YH5Z2mFeZ+Ej6e9RxUg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:reply-to:to:message-id
:subject:mime-version:references:content-type
:content-transfer-encoding; s=default; bh=BuQpriLiUB+BL/12RjOOYd
KM2do=; b=F4QtxSDvhSQ4amC00maTHRUeh3uLAPc04IsT6av/lNGX7NUGg2kYXv
PRUJLIUoOQaOdOD/v83/4Ta+Z/fi8sPCJy+mTjEbrPDlN/Kjk7wfsrNj5sHAY0oq
kI691Rl0WxGIcw3KrMpYbT0o56C184/ZeTCYK8eIEvT0A7u6NQtXg=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_SEMBLACK,SPF_PASS,T_REMOTE_IMAGE autolearn=no version=3.3.2 spammy=H*c:HHHHHH, packaged, H*UA:68.0.3440.106, H*x:68.0.3440.106
X-HELO: sonic306-20.consmr.mail.ne1.yahoo.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1534595793; bh=nt4r/IU6Hg1G1mqz7GbWvhLtFY++83LZYsjAiwQNHOU=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=NtA0q+TSyab9bFRiyB3G6w6yvlP2gyy5fryuatlohguOdUqYa7SX6fiJPG1IJ/XTDalOjtDdNQBA8ol8l6D/lWz4+uawMNotzE79YAd+OHVRE1nEwcSlV1mG/WCYmUUkvV+OvLmeMvKCPKRv03be2Ltkdhs3vJE83Xatw/oPkp4CNM8YR7T4uNbQcifzX5oM27e0FMttb070TNL4etpO7+EwZno0/FZnDjV6MovBXjRD28ZsSmJWuT9xyYjZjZkeJ/PxpmclJoPpU4EVWgUMcyVNpZRaEpHkZ+wcaQPwqoAiCWAl7o/n4GhRnPEfppKtIbojJAtphxaE7tWEybeOmg==
Date: Sat, 18 Aug 2018 12:36:28 +0000 (UTC)
From: "Donald Krieger via cygwin" <cygwin AT cygwin DOT com>
Reply-To: Donald Krieger <donnkrieger AT yahoo DOT com>
Reply-To: Donald Krieger <donnkrieger AT yahoo DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <1925552125.164706.1534595788839@mail.yahoo.com>
Subject: stdbuf does not work
MIME-Version: 1.0
References: <1925552125 DOT 164706 DOT 1534595788839 DOT ref AT mail DOT yahoo DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w7ICak8s000578

Dear list,
I require line buffered output from program1 and line buffered input to program2.The following works under Linux but not under Cygwin.   stdbuf -oL -eL program 1 |& program2

I've searched the archive without success.I have tried -o0 -e0 -i0 and have also tried
  stdbuf -oL -eL program1 |& stdbuf -i0 program2
I have a fresh installation of cygwin as of a few months ago:  uname -a              yields:CYGWIN_NT-10.0 DESKTOP-S92525R 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64 Cygwin
  stdbuf --version    yields:stdbuf (GNU coreutils) 8.26Packaged by Cygwin (8.26-2)Copyright (C) 2016 Free Software Foundation, Inc....
Thanks for your help.
Best - Don

|  | Virus-free. www.avast.com  |


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


- Raw text -


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