Edd*_*ddy 2 string sed
假设我有一个包含这些行的文件:
tomatoes bananas tomatoes with apples pears pears with apples
如何用"oranges" 替换包含单词"apples"的每一行?这就是我想要的结果:
tomatoes bananas oranges pears oranges
Ben*_*oit 6
用sed 's/.*apples.*/oranges/'吗?
sed 's/.*apples.*/oranges/'
归档时间:
15 年,6 月 前
查看次数:
7769 次
最近记录: