| delorie.com/archives/browse.cgi | search |
| 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:to:from:subject:date:message-id:references | |
| :mime-version:content-type:content-transfer-encoding; q=dns; s= | |
| default; b=FiTuR7Iu36TSzEAL52ixfh2yFbQ/jyxFE51I9182BvK+LIw71C/BD | |
| tWEiqwF4FpljGjP0dJ8XPWbpHtKa5kC03OdhSg05Q6OE7j+xnunjJpLy673v30+D | |
| tv4qiv0NdkKlvhmwblPFQ8ziDO4VG5YgEE2s+rRl7kNsu+E/D3kf7A= | |
| 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:to:from:subject:date:message-id:references | |
| :mime-version:content-type:content-transfer-encoding; s=default; | |
| bh=x3yQo01pFEzHyPIyo/TdKezHiv8=; b=Oycf56dW4zrRNMa2hgO1HxrSWQdr | |
| HnWFULiAU+hu/ZdW10t6uH9mnlG4TR0bMLxiG981wn2rskpGWnRvY48NXYHufkKl | |
| KIMwMFRRuFtALP5NBXQrD1YO+iMEY4rVWuGuuMMasxbXms8jesJGONL5qpUZfHvY | |
| D6XdbTTM/cIxcJI= | |
| 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=-0.1 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
| X-HELO: | plane.gmane.org |
| To: | cygwin AT cygwin DOT com |
| From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
| Subject: | Re: bind-utils output not to stdout (was: Dig output not piping to xargs) |
| Date: | Fri, 14 Nov 2014 13:25:25 +0000 (UTC) |
| Lines: | 36 |
| Message-ID: | <loom.20141114T140356-618@post.gmane.org> |
| References: | <544C158C DOT 9010006 AT kset DOT org> <BLU436-SMTP542C599ED7913A9F735817E4910 AT phx DOT gbl> |
| Mime-Version: | 1.0 |
| User-Agent: | Loom/3.14 (http://gmane.org/) |
| X-IsSubscribed: | yes |
Alive <alive4ever <at> live.com> writes:
> On 10/26/2014 4:26 AM, Marko Božiković wrote:
>> I have recently noticed that dig +short output is not being properly piped 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. Attached 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.
> I can confirm this behavior. `dig +short` always writes it output to the >
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)
All bind-utils - host, nslookup, dig - output not to stdout or stderr - can
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. Have not
tested nsupdate but likely to have same problem. Has anyone seen a similar
problem?
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |