hd.*_*hd. 0 shell replace
我有超过1000个文件,并希望用另一个短语替换所有文件中的特殊文本.
我怎么能用linux中的shell脚本来做呢?
Mār*_*ovs 5
sed -i 's/old-word/new-word/g' *.txt
http://www.cyberciti.biz/faq/unix-linux-replace-string-words-in-many-files/
归档时间:
16 年,1 月 前
查看次数:
116 次
最近记录: