From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 13:39:30 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5FA9106564A for ; Tue, 19 Aug 2008 13:39:30 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id BE9DF8FC0C for ; Tue, 19 Aug 2008 13:39:30 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id E64B515AD3A; Tue, 19 Aug 2008 09:39:29 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 19 Aug 2008 09:39:29 -0400 X-Sasl-enc: M/gt3g2g9jIPR3h0u97ddky1PXYbvfEuDSlSrl90pvO5 1219153169 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 674042E068; Tue, 19 Aug 2008 09:39:29 -0400 (EDT) Message-Id: From: Jeffrey Goldberg To: Fraser Tweedale In-Reply-To: <20080819032537.GE4326@bacardi.frase.id.au> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v928.1) Date: Tue, 19 Aug 2008 08:39:28 -0500 References: <20080819024404.GB4326@bacardi.frase.id.au> <8B61752D0585DE4B43DE2005@Macintosh.local> <20080819031351.GD4326@bacardi.frase.id.au> <3D5BA85E-7C9F-4ED1-9442-A6A7EA8C606D@goldmark.org> <20080819032537.GE4326@bacardi.frase.id.au> X-Mailer: Apple Mail (2.928.1) Cc: Paul Schmehl , FreeBSD Questions Subject: Re: How to use dig with an ip list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 13:39:31 -0000 On Aug 18, 2008, at 10:25 PM, Fraser Tweedale wrote: > On Mon, Aug 18, 2008 at 10:18:07PM -0500, Jeffrey Goldberg wrote: >> You'll want to change line four to >> >> echo "$LINE " `dig +short -x $LINE` >> >> for a cleaner output. >> > The original works fine for me in ash. Definitely nothing wrong > with yours > though. What have I overlooked? Sorry, I misread what you actually wrote for what I would have written (before correction). What you have is perfectly correct. Or, in the words of Emily Latela: Nevermind. Cheers, -j