[請問] 在多個文字檔中加入一段相同的內容

看板EZsoft作者 ( )時間15年前 (2010/07/10 11:59), 編輯推噓3(303)
留言6則, 4人參與, 最新討論串1/1
我要在很多個文字檔中 都加入某一段相同的文字 例如我要在每個檔案的第一行都加入 "Hello!" 請問是否有軟體有這種功能呢 謝謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.52.127

07/10 12:22, , 1F
hello! 寫在 a.txt, cat a.txt >> *.txt
07/10 12:22, 1F

07/10 12:23, , 2F
.....XD
07/10 12:23, 2F

07/10 12:37, , 3F
">>" cannot work with wildcard *
07/10 12:37, 3F

07/10 12:38, , 4F
2. ">>" appends the text to the end of a file
07/10 12:38, 4F

07/10 13:15, , 5F
寫個script用for迴圈去跑吧
07/10 13:15, 5F

07/10 18:22, , 6F
感謝樓上的大家 我後來用TextMultiReplace解決了!!
07/10 18:22, 6F
文章代碼(AID): #1CD_0owu (EZsoft)