比如像 sed -i 's/xxx/yyy/g' 目标文本文件 这个命令可以直接修改目标文件,使用rg 要这么做。 ➜ rg --passthru "xxx" --replace "yyy" file.txt --no- ...
確定! 回上一頁