【sed】sed -i命令追加多行內容到指定文件的指定位置

很少說,直接上我寫的一個測試腳本的代碼,後面有驗證結果。bash #!/bin/bash #for test add content from src_file to dest_file at specified place. echo "hello, begin..." echo "" src_file=${PWD}"/src_file" dest_file=${PWD}"/dest_fil
相關文章
相關標籤/搜索