看板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