I want to search and replace strings but keep the case intact using sed
For example, if I want to replace all occurrences of foo
with bar
, it should work like this:
foo --> barFoO --> BaRfOO --> bARFOO --> BAR
I want to search and replace strings but keep the case intact using sed
For example, if I want to replace all occurrences of foo
with bar
, it should work like this:
foo --> barFoO --> BaRfOO --> bARFOO --> BAR