Hi,
I have a set of files and i need to substitute an existing pattern with a new one.I have used sed to do the simple substitution.
sed -e 's/Old/New/g' file_name > new_file
But it is case sensitive. I have a set of files which are having a different case for the pattern.
Can anyone let me know how to go aboutt so that i can substitute even if the old pattern is in a different case.
Thanks
Rao
I have a set of files and i need to substitute an existing pattern with a new one.I have used sed to do the simple substitution.
sed -e 's/Old/New/g' file_name > new_file
But it is case sensitive. I have a set of files which are having a different case for the pattern.
Can anyone let me know how to go aboutt so that i can substitute even if the old pattern is in a different case.
Thanks
Rao