替换字符串 替换第一个匹配子段:s/vector/list/替换整行匹配子段:s/vector/list/g全文替换:g/vectir/s//list/g 转载于:https://www.cnblogs.com/xiayy860612/archive/2013/03/08/2949172.html