Re: [issue1691] LAST CALL FOR TEST: Re: Suggestion: Removal of B
Aggelos Economopoulos (via DragonFly issue tracker) schrieb:
> Aggelos Economopoulos <aoiko@cc.ece.ntua.gr> added the comment:
>
> YONETANI Tomokazu wrote:
>
>> On Fri, Apr 09, 2010 at 08:23:59AM +0200, Jan Lentfer wrote:
>>
>>> Ok, I removed the last commit and edited 7c704b13 to contain that. Also
>>> reverte the removal of rndcontrol from 22a6bbb1. I would be very thankful
>>> if you gut look at it again.
>>>
>> Thanks, I've done a full buildworld/installworld/upgrade onto one of
>> my laptops and it went flawlessly.
>>
>> One thing I miss from `host' command is its terseness in the output.
>>
>> $ host www.dragonflybsd.org
>> www.dragonflybsd.org is an alias for leaf.dragonflybsd.org.
>> leaf.dragonflybsd.org has address 216.240.41.26
>> leaf.dragonflybsd.org mail is handled by 10 leaf.dragonflybsd.org.
>>
>> `host -v' gives you a similar output as drill does. Drill does have
>> -Q(quiet) option, but it's too shy to show me anything no matter what
>> it finds or not, not even the return code :)
>> $ drill -Q www.dragonflybsd.org; echo $?
>> 0
>> $ drill -Q www.dargonflybsd.org; echo $?
>> 0
>>
>> I can write an alias or a shell function to cope with the verboseness,
>> but maybe we could modify the behavior of -Q to show something rather
>> than nothing.
>>
>
> Perhaps we can provide a 'host' script that generates mostly-compatible
> output using drill in the background?
>
It should be possible to hack drill.c to add another option like '-h'
that provides a host like output I'd guess. The "-Q" option does not
look very overthough, so :-)
Jan
討論串 (同標題文章)
完整討論串 (本文為第 1 之 3 篇):