linux shell script that executes sed substitution based on mysql query
hard coded sed substitution
cat $OUTFILE_1 |sed -e 's/ABC1/123/g' -e 's/DEF1/456/g'
Is there a way to look up the values from a mysql table. something like select field2 where field1 like '%1'; that could be put in a result set array to dynamically substitute all the field1 with field2?