Gentoo Archives: gentoo-user

From: djanderson <douglasjanderson@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to word-wrap using a pipe?
Date: Mon, 20 Oct 2008 03:39:06
Message-Id: 20062130.post@talk.nabble.com
1 Zhang Weiwu wrote:
2 >
3 > Hello. How can I line-wrap a text file that was not wrapped before (e.g.
4 > like text file created on Microsoft Windows's notepad, the software does
5 > softwrap by default, thus the file created using it often have very long
6 > text lines) by using command pipe?
7 >
8
9 I think you'll find what you're looking for in the 'fmt' standard unix
10 command. `man fmt', it's part of coreutils.
11
12 -Doug
13
14 --
15 View this message in context: http://www.nabble.com/how-to-word-wrap-using-a-pipe--tp20061899p20062130.html
16 Sent from the gentoo-user mailing list archive at Nabble.com.