From owner-freebsd-questions@FreeBSD.ORG Mon Feb 4 15:47:32 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A412A16A4E2 for ; Mon, 4 Feb 2008 15:47:32 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6959113C4DD for ; Mon, 4 Feb 2008 15:47:25 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id m14FjhQ6008519; Mon, 4 Feb 2008 16:45:43 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id m14FjdMc008516; Mon, 4 Feb 2008 16:45:42 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 4 Feb 2008 16:45:39 +0100 (CET) From: Wojciech Puchar To: h p In-Reply-To: <47A72F3B.7030902@gmail.com> Message-ID: <20080204164507.G8436@wojtek.tensor.gdynia.pl> References: <20080204161647.V8347@wojtek.tensor.gdynia.pl> <47A72F3B.7030902@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: bash bug - or what? 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: Mon, 04 Feb 2008 15:47:32 -0000 >> it looks like echo'ed data is kept in bash memory > I think that's the way it should be, because sort needs the whole output of > the loop before it can begin sorting. > > i mean BASH takes memory, not sort. sort take 512MB RAM +temp files as i wanted through -S 512m