Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SunOS 5.10 マシンでテキスト ファイル内の文字列を再帰的に検索して置換するための UNIX コマンドは何でしょうか?
元:
現在のディレクトリのファイル内の文字列SIR01111を再帰的に置き換えたい。SIR02222
SIR01111
SIR02222
find . -name "*.txt"|xargs perl -pi -e 's/SIR01111/SIR02222/g'