sed匹配某一行开头,替换整行内容 2019-06-13 Linux Linux sed 原数据1CORE_LIBS = 1111 替换语句1sed -i '/^CORE_LIBS/cCORE_LIBS = \"$CORE_LIBS -L/usr/lib -lfastcommon -lfdfsclient\"' /usr/local/src/fastdfs-nginx-module/src/config 替换后1CORE_LIBS = "$CORE_LIBS -L/usr/lib -lfastcommon -lfdfsclient" < Centos7下docker安装fastdfs Vue 通过if判断绑定style >