檔案內容自動斷行 - Linux

By Victoria
at 2012-02-23T09:18
at 2012-02-23T09:18
Table of Contents
awk '{printf "%s",$0}' FileName | sed s/\'/\'\\n/g
※ 引述《newvalentine (haha)》之銘言:
: 最近在處理一些檔案內容,其檔案內容格式如下:
: AAAA'BBBBB'CCCCCCCC
: CCCCCCC'DDDDDDDDDDDDDDD'EEEEEE'
: FFFFF'GGGGG'
: 是否能依據 ' 將以上檔案轉成這樣
: AAAA'
: BBBBB'
: CCCCCCCCCCCCCCC'
: DDDDDDDDDDDDDDD'
: EEEEE'
: FFFFF'
: GGGGG'
: 先感謝各位指教了 ._.
--
Tags:
Linux
All Comments

By Rosalind
at 2012-02-25T04:39
at 2012-02-25T04:39

By Mia
at 2012-02-26T14:15
at 2012-02-26T14:15

By Ethan
at 2012-02-28T06:26
at 2012-02-28T06:26

By Barb Cronin
at 2012-03-03T15:30
at 2012-03-03T15:30

By Mason
at 2012-03-07T13:08
at 2012-03-07T13:08
Related Posts
求救 mail server 問題

By Harry
at 2012-02-23T00:44
at 2012-02-23T00:44
arch 中 networkmanager 如何改 DNS?

By Jacob
at 2012-02-22T22:57
at 2012-02-22T22:57
檔案內容自動斷行

By Catherine
at 2012-02-22T22:55
at 2012-02-22T22:55
cscope 搜尋特殊字元

By Anonymous
at 2012-02-22T22:03
at 2012-02-22T22:03