看板 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 (台灣)