📜  sed 替换所有事件? - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:48.293000             🧑  作者: Mango

代码示例1
echo dog dog dos | sed -e 's:dog:log:g'

#You can also use the above answer with appropriate slashes like
echo "grepper is a nice grepper" | sed "s/grepper/blow/g"