シェルスクリプト
初心者です。 #!/bin/sh list=./replace_list.txt target=./target_dir cd `dirname $0` LC_ALL=C cat $list | while read -r line do before=$(awk '{print $1}' <<< $line) after=$(awk '{print $2}' <<< $line) grep -rl "${before}" $target | xargs sed…
初心者です。 #!/bin/sh list=./replace_list.txt target=./target_dir cd `dirname $0` LC_ALL=C cat $list | while read -r line do before=$(awk '{print $1}' <<< $line) after=$(awk '{print $2}' <<< $line) grep -rl "${before}" $target | xargs sed…