From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ksdxi-0005NY-5t for garchives@archives.gentoo.org; Wed, 22 Oct 2008 13:41:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D12EE050D; Wed, 22 Oct 2008 13:41:19 +0000 (UTC) Received: from bossdog.realss.com (bossdog.realss.com [211.157.114.130]) by pigeon.gentoo.org (Postfix) with ESMTP id 07C7DE050D for ; Wed, 22 Oct 2008 13:41:19 +0000 (UTC) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id 373181C004B for ; Wed, 22 Oct 2008 21:41:42 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23588-01 for ; Wed, 22 Oct 2008 21:41:41 +0800 (CST) Received: from [192.168.1.101] (unknown [221.219.14.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id C5CC11C002F for ; Wed, 22 Oct 2008 21:41:41 +0800 (CST) Message-ID: <48FF2D7B.9040308@realss.com> Date: Wed, 22 Oct 2008 21:41:15 +0800 From: zhangweiwu@realss.com Organization: Real Softservice User-Agent: Thunderbird 2.0.0.14 (X11/20080621) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to word-wrap using a pipe? References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at bossdog.realss.com X-Archives-Salt: a0fcc046-33f8-4478-a45d-a2ba56080c6a X-Archives-Hash: 3b5ff8d68a543504c21b3b8c173a9a8a Neil Bothwick wrote: > On Mon, 20 Oct 2008 14:19:31 +1100, paulcol@andor.dropbear.id.au wrote: > >> Hmm, 'fold' looks promising... > > I've been using this one for years and it does exactly what it says. > > Great thanks for all the answers. fmt and fold both enlightened me. -- Real Softservice Huateng Tower, Unit 1788 Jia 302 3rd area of Jinsong, Chao Yang Tel: +86 (10) 8773 0650 ext 603 Mobile: 159 1111 7382 http://www.realss.com