【发布时间】:2014-11-05 23:21:35
【问题描述】:
我有命令
find . -type f \( ! -name "*.png" \) -print0 | \
xargs -0 sed -i 's#word#replace#g'
awk/sed: How to do a recursive find/replace of a string?
BASH: recursive program to replace text in a tree of files
到目前为止,此命令有效,但我想显示 sed 替换文本的文件。
是否有一些参数允许这样做?
【问题讨论】: