hfxiang 当前在线
上尉
gawk "{gsub(/ABC/,\"123\");gsub(/XYZ/,\"AFK\")}1" 1.txt>2.txt复制代码
TOP
sed -i "s/ABC/123/;s/XYZ/AFK/" 1.txt复制代码