Re: [gentoo-user] how to word-wrap using a pipe?

2008-10-22 Thread zhangweiwu
Neil Bothwick wrote: On Mon, 20 Oct 2008 14:19:31 +1100, [EMAIL PROTECTED] 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

Re: [gentoo-user] how to word-wrap using a pipe?

2008-10-21 Thread Neil Bothwick
On Mon, 20 Oct 2008 14:19:31 +1100, [EMAIL PROTECTED] wrote: Hmm, 'fold' looks promising... I've been using this one for years and it does exactly what it says. -- Neil Bothwick Used Iraqi rifles for sale: Dropped once, never fired... signature.asc Description: PGP signature

[gentoo-user] how to word-wrap using a pipe?

2008-10-19 Thread zhangweiwu
Hello. How can I line-wrap a text file that was not wrapped before (e.g. like text file created on Microsoft Windows's notepad, the software does softwrap by default, thus the file created using it often have very long text lines) by using command pipe? I could use vim, activate some formatting

Re: [gentoo-user] how to word-wrap using a pipe?

2008-10-19 Thread meino . cramer
Hi ...just a shot in the dark: Try 'fmt' (UNIX standard too so no extra install I think). Kind regards, Meino Cramer [EMAIL PROTECTED] [EMAIL PROTECTED] [08-10-20 03:52]: Hello. How can I line-wrap a text file that was not wrapped before (e.g. like text file created on Microsoft Windows's

Re: [gentoo-user] how to word-wrap using a pipe?

2008-10-19 Thread paulcol
On Mon, Oct 20, 2008 at 09:13:46AM +0800, [EMAIL PROTECTED] wrote: Hello. How can I line-wrap a text file that was not wrapped before (e.g. like text file created on Microsoft Windows's notepad, the software does softwrap by default, thus the file created using it often have very long text

Re: [gentoo-user] how to word-wrap using a pipe?

2008-10-19 Thread djanderson
Zhang Weiwu wrote: Hello. How can I line-wrap a text file that was not wrapped before (e.g. like text file created on Microsoft Windows's notepad, the software does softwrap by default, thus the file created using it often have very long text lines) by using command pipe? I think you'll