My input file contains the following extract:
>>Current file<<
default:
SysVal=1035
Other text....
I would like to insert a line such that:
>>Desired output<<
default:
SysVal=1035
NewVal=33997
Other text....
How do I insert text in a file below a particular search string, in this case SysVal=1035?
Thanks
>>Current file<<
default:
SysVal=1035
Other text....
I would like to insert a line such that:
>>Desired output<<
default:
SysVal=1035
NewVal=33997
Other text....
How do I insert text in a file below a particular search string, in this case SysVal=1035?
Thanks