0
我的第一個輸入文件中包含的記錄命名的abc.txt:想使用shell腳本追加兩個文件中的記錄
[email protected]
[email protected]
[email protected]
[email protected]
我的第二個文件包含記錄名稱details.txt:
123456^atulsample^1203320
我希望我的最終文件的輸出爲Final.txt:
[email protected]^123456^atulsample^1203320
[email protected]^123456^atulsample^1203320
[email protected]^123456^atulsample^1203320
我有使用sed命令,但我沒有得到我需要的輸出。
請幫忙,因爲我對shell腳本沒有太多的知識。
也許你可以分享你已經試過sed命令追加?那麼我們可能會看到你到目前爲止所做的嘗試以及你做錯了什麼。 –