2009-11-19 文字列置換のスクリプト LINUX for FILE in `grep -l 変更前文字列 *`;do cp $FILE $FILE.bak; sed -e "s/変更前文字列/変更後文字列/g" $FILE.bak > $FILE; done