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:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=QdCkC1hYkJZhLTviRKedVe4JLF5KY c8wa0xo/ch+C75vcvN/gl399SyFIHMaerXLTaXRxpB6kpo1pQ2nvrsN2PpKTd/mp xzS1jH8VO5l4m68ot7vcAtrKM81qKkVyn/CcrWWcl4+/GbV6psA05Qug8dH+jv27 4BH03vvcr6kRHI= 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:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=3JBRcRABs1jg1JttQCkAROs57zo=; b=h4+ biyb3nV02h0PBb/Fsdym2z+X3rie9Ka6uc+8fKyqhAraNqUS5DpbxPdY2ZerqFXw Xk2x88mg4DItWiu8EXhr5D8eQxnNHU/YC6vp2FNNgk/GER6l5ygSItViZi26BBc2 hU9qRbQfoD/+RSk85vCxSxDu5l3zsrm3M2b67Ego= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,MIME_BASE64_BLANKS,SPF_PASS autolearn=ham version=3.3.2 spammy=skill, cygcheck, anti-virus, moss X-HELO: esa10.hc188666.iphmx.com From: "Nellis, Kenneth" To: "cygwin AT cygwin DOT com" Subject: RE: bash pipe fails in script with subshell/loop cmbination Date: Tue, 8 Aug 2017 14:59:26 +0000 Message-ID: References: In-Reply-To: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Kenneth DOT Nellis AT conduent DOT com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR2001MB1076;20:M1bqiqzqadu0tAWIhPNw45OCcQHPpvPnhY5JU7ZBqFE5oSFT+zIOkV17SIPX8hzWU6ab+hLP6j48ajrCfj2b8hUms4Kj/a+g3LAh6BGZR5lKsEj5CzBXsOItR8p8rN0riCYjnuvHczpKYXASpDdDGnUMJpTk0KKV8bnvqN5Bi7/grvBKn6txhJwYJL7egwLwwWKb4vqdqBab6OmtUfW240vDVLtCYbaR9fV/SqsAPovbBxmYP3FMzcNQ5eRJeBub x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: e12454e5-d5c0-4da3-f7bd-08d4de6e108c x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BN6PR2001MB1076; x-ms-traffictypediagnostic: BN6PR2001MB1076: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR2001MB1076;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR2001MB1076; x-forefront-prvs: 03932714EB x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39410400002)(39850400002)(39400400002)(39860400002)(39840400002)(39450400003)(199003)(189002)(54094003)(2351001)(3846002)(102836003)(81156014)(81166006)(86362001)(7696004)(6436002)(14454004)(106356001)(8676002)(229853002)(99286003)(101416001)(33656002)(1730700003)(6116002)(9686003)(55016002)(66066001)(77096006)(5660300001)(6506006)(2900100001)(50986999)(76176999)(54356999)(72206003)(74316002)(105586002)(478600001)(189998001)(6246003)(3660700001)(7736002)(305945005)(68736007)(3280700002)(38730400002)(2501003)(2950100002)(5640700003)(2906002)(8936002)(6916009)(97736004)(53936002)(25786009)(110136004);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR2001MB1076;H:BN6PR2001MB1074.namprd20.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: conduent.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: conduent.com X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2017 14:59:27.0119 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1aed4588-b8ce-43a8-a775-989538fd30d8 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR2001MB1076 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v78ExqLR032719 > From: Eliot Moss > It also works for me. If it is not a version issue, then I > wonder about BLODA. Maybe anti-virus or similar tools are > wrapping process creation in such a way that things get > confused. Try cygcheck, etc. BTW, it also works for me. With so many Cygwin issues being attributed to BLODA, I wonder if there is a reasonably small set of things that BLODA breaks that could be tested in code, and that such a bloda-checking program could be added to the package repertoire? (Of course, SHTDI and, sadly, such a task is not in my skill set.) --Ken Nellis -- 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