0
I am trying to replace occurrences "strings that appear in the document" with another value in the '' case;
I have the following chunk of shell script code
mkdir NOVO
for script in *.sql
do
sed '/from/ s/fev_\|jan_//g' $script >> NOVO/$script
done
what happens is that it will only replace the occurrences "fev_" and "jan_" that are in minuscule, but there are occurrences in upper case like "FEV_" and even "Fev_" as I can automate this script to capture all these occurrences?
Got it. So could you answer the question again this way? Using the link as a reference?
– Eduardo Reimberg