Hi,
I need to edit a file using SED and replace a string but maintain the case of the original string.
ie Change:
HRP1 to HRS1
hrp1 to hrs1
HrP1 to HrS1
I can do this with multiple edit commands but wondered if there was a way of doing it in one edit command ?
I need to edit a file using SED and replace a string but maintain the case of the original string.
ie Change:
HRP1 to HRS1
hrp1 to hrs1
HrP1 to HrS1
I can do this with multiple edit commands but wondered if there was a way of doing it in one edit command ?