Quantcast
Channel: Shiqi Yu’s Homepage
Viewing all articles
Browse latest Browse all 10

批量替换多个文件中的字符串

$
0
0

sed -i “s/oldstring/newstring/g” `grep oldstring -rl yourdir`


Viewing all articles
Browse latest Browse all 10

Trending Articles