delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/11/14/08:39:59

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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=BrkdWOahDLXVMiLS9XCFr4DDhAImCpthu1ERNdNXZX49hn9C32zNo
DUnOV/NrLPSCKznZRnQt/GizDBzLIrrGLSiEiV1fOAHjFw3TGA5XJBN6ejlAqr2n
1CJEd10BBJmjSDLeeG8jZV/Y5uWgmrRlwE7h272ey8nirBAxmeGt00=
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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=MRgdQ6O2ZXNmhTQ/7Gx1aQurn2k=; b=KtlevssVw/rAKa2v/qlUsGI2Qmki
AwCNkVrw2mMLepCh96X3FSwMn84QrBNGF+d0hs/7uMbuuWycFm1Z8C+kEncmNgbv
5qh0gBNf/3PHcjjZ0C1bnGK2+uFxgQNMEDuQgQxhNJvC01x5+pn23Pbrww7J7+ES
xS0cO/u8c1gseBM=
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-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
Date: Fri, 14 Nov 2014 14:39:36 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT 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 AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <544C158C DOT 9010006 AT kset DOT org> <BLU436-SMTP542C599ED7913A9F735817E4910 AT phx DOT gbl> <loom DOT 20141114T140356-618 AT post DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <loom.20141114T140356-618@post.gmane.org>
User-Agent: Mutt/1.5.23 (2014-03-12)

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 14 13:25, Brian Inglis wrote:
> Alive <alive4ever <at> 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

-----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--

- Raw text -


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