I'm trying to replace occurrences of "strings that appear in the document" by another value in the case '' nothing;
I have the following code snippet in shell script
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 "fev_" and "jan_" occurrences that are tiny, but there are major occurrences like "FEV_" and even mesno "Feb" how can I automate this script to capture all these occurrences?