【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
相关文章
相关标签/搜索