From owner-freebsd-current@FreeBSD.ORG Mon Oct 4 18:07:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1035C16A4CE for ; Mon, 4 Oct 2004 18:07:12 +0000 (GMT) Received: from mail2.numachi.com (mail2.numachi.com [198.175.254.8]) by mx1.FreeBSD.org (Postfix) with SMTP id 73EA843D41 for ; Mon, 4 Oct 2004 18:07:11 +0000 (GMT) (envelope-from reichert@numachi.com) Received: (qmail 13540 invoked from network); 4 Oct 2004 18:07:07 -0000 Received: from natto.numachi.com (198.175.254.216) by mail2.numachi.com with SMTP; 4 Oct 2004 18:07:07 -0000 Received: (qmail 34457 invoked by uid 1001); 4 Oct 2004 18:07:07 -0000 Date: Mon, 4 Oct 2004 14:07:07 -0400 From: Brian Reichert To: Dan Nelson Message-ID: <20041004180707.GO262@numachi.com> References: <20041004171422.GK262@numachi.com> <20041004172224.GA30419@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041004172224.GA30419@dan.emsphone.com> User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org Subject: Re: awk leaking memory during arithmetic? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 18:07:12 -0000 On Mon, Oct 04, 2004 at 12:22:24PM -0500, Dan Nelson wrote: > I think "print t" is what you want here. $t would refer to the t'th > field in the line, and it looks like awk tried to resize the array out > to 1111037014 entries and failed. Aha! Thank you, definitely pilot error. :) Thanks for the feedback... > -- > Dan Nelson > dnelson@allantgroup.com -- Brian Reichert 37 Crystal Ave. #303 Daytime number: (603) 434-6842 Derry NH 03038-1713 USA BSD admin/developer at large