看板Linux
标 题Re: [问题] 英文段落的排版方法?
发信站SayYA 资讯站 (Tue Sep 2 21:41:32 2008)
转信站ptt!ctu-reader!ctu-peer!news.nctu!News.Math.NCTU!SayYa
※ 引述《[email protected] (王大蛮)》之铭言:
> Hi,请问有没有什麽现成的方式,
> 能够将由数句英文句子组成的文章作排版呢?
> 像是这样:
> The quick brown fox jumps over the lazy dog. The
> quick brown fox jumps over the lazy dog.
> 会变成:
> 长度n
> |--------------------------------|
> The quick brown fox jumps over
> the lazy dog. The quick brown fox
> jumps over the lazy dog.
> 其中长度n可以任意给定
> 这要如何在不用C或是shell script的方式下完成呢?
> 谢谢
man fmt
或
man fold
--
一个神圣的目标是很危险的。当一个目标变得神圣时,
要达到这个目标的手段往往会变得很卑下。(林语堂.快乐的天才)
--
※ Origin: SayYA 资讯站 <bbs.sayya.org>
◆ From: edt1023.sayya.org