From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22873 invoked by alias); 14 Nov 2014 13:39:41 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 22770 invoked by uid 89); 14 Nov 2014 13:39:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Nov 2014 13:39:38 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 8BF848E0BAC; Fri, 14 Nov 2014 14:39:36 +0100 (CET) Date: Fri, 14 Nov 2014 13:39:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: bind-utils output not to stdout (was: Dig output not piping to xargs) Message-ID: <20141114133936.GA29514@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <544C158C.9010006@kset.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-11/txt/msg00357.txt.bz2 --gKMricLos+KVdGMg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1527 On Nov 14 13:25, Brian Inglis wrote: > Alive live.com> writes: > > On 10/26/2014 4:26 AM, Marko Bo=C5=BEikovi=C4=87 wrote: > >> I have recently noticed that dig +short output is not being properly p= iped to > >> xargs (and it used to work) > >> Doing something like: > >> echo aaa | xargs -I {} echo {} > >> works fine. > >> However: > >> dig +short www.google.com | xargs -I {} echo {} > >> produces no output. > >> I'm running Cygwin x64, tried a fresh install and it didn't help. Atta= ched is > >> the cygcheck output. Interestingly enough, cygcheck segfaults if I run= it > from > >> bash. I had to run it from TCC to get the output file. >=20 > > I can confirm this behavior. `dig +short` always writes it output to th= e > > terminal and cannot be redirected. > > $ dig +short google.com > > 74.125.68.101 > > 74.125.68.138 > > 74.125.68.100 > > 74.125.68.102 > > 74.125.68.139 > > 74.125.68.113 > > $ dig +short google.com | tee dig.txt > > $ cat dig.txt > > (no text is shown) > > $ dig +short google.com 2>&1 | tee dig.txt > > $ cat dig.txt > > (no text is shown) >=20 > All bind-utils - host, nslookup, dig - output not to stdout or stderr - c= an > not be redirected, but redirection suppresses output, with current update > 9.9.6-2 but works with previous 9.9.5-3 and current cygwin release. WFFM with the current Cygwin release 1.7.33. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUZgYYAAoJEPU2Bp2uRE+gfy8P/Ajy5rLsfTGl6kKP5EGwmyHi l6xb5xbbYlk+g7aZYI5hjYdmFzTDwvB0V3GQMHRsVegOL4JIVAQiHLD4WaB0Gkd5 ft6Gj6OD3i0OMDIrkyd2lfP02MjHrpV+Nuw78GQfLahm4uW6ziwRTlKNgO81LkMu LTG7AOX5sRSq1p2n7/euy0KZZmO811VcFMdurJ9TncD6NyS79/cLuBI42OEOGX0k lwlx04YgwRR+Jb0Sca58Iqa8ZXy0p3C82c4vnQfN74GqOUaNJjmmWIBPN9olHf+3 /p6sCDEpYqIGegirWH1+kHw+6oR9/T+d5DAI2K4iXMgR7V3EZkvLeVO7rauZcoCo s2GKKd4Z82XVyfYeBrksB5iZ296HGhdwzJ9jhbNUiwL7Pa+xPjaxAzBge3nEA/06 L/vAN+X8vPY5T2opuNmO6QWj2oPseAyww2EoSITIFMN6vZDK+m4P3XXzNHlIg6iJ UGLAk7rfrN2LLxiR+IxnHiFSDJT61O3l1eaCTgddUmhm68GyLhmRyhFu873psiFM whB5r2mqKNW5NofLTYBcd6rkgZzO/tdGhIplnIe0YCnyUFrmoj2VGXNyj7Styzg6 nC/yuq9FaJ7cdgnyWyXYck8jqnhrLp/n0byI7OmaCt2LkzvHhcwdQHvFWXnhBMJj y2AlXoeasdH92U04Zh0S =E/45 -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--