shell 中的特殊狀況

一、sed 中若是要引入變量,須要用雙引號 spa

sed -i "/var dbnames =/ c var dbnames = $dbnames" caculate_combinedDb.js >/dev/null 2>&1 變量

相關文章
相關標籤/搜索