最佳答案
我在努力
grep searchterm myfile.csv | sed 's/replaceme/withthis/g'
还有
unknown option to `s'
我做错了什么?
编辑:
根据注释,代码实际上是正确的
grep searchterm myfile.csv | sed 's/replaceme/withthis/g'
# my comment
出于某种原因,我的注释被输入到 sed 中,非常奇怪。