第二个“测试”行不应该也被替换吗?我将如何编写命令来替换所有“测试”?
$ sed 's/test/toast/' texttest.txt toast file test file hahahaha 1 toast file test file hahahaha 2
sed
sed ×1