顯示廣告
隱藏 ✕
看板 Programming
作者 newweek (飛天)
標題 [求助] linux bash shell cut 檔案內容
時間 2022-04-26 Tue. 10:27:37


小弟有一個檔案內容:

cat testfile:
AAABBBCCCdddeeefff

想要切成檔案加入換行如下:

AAA
BBB
CCC
ddd
eee
fff

如何辦到 ~ 感謝回覆

--
※ 作者: newweek 時間: 2022-04-26 10:27:37 (台灣)
※ 看板: Programming 文章推薦值: 0 目前人氣: 0 累積人氣: 102 
r)回覆 e)編輯 d)刪除 M)收藏 ^x)轉錄 同主題: =)首篇 [)上篇 ])下篇