Assume I have a file D:\somedir\myfile123.txt
and I want to replace all occurencies of the two (concatenated) hex values x'AD' x'A0' by
two other (concatenated) hex values x'20' x'6E'
How can I achieve this with the gnu sed tool (from a dos batch script)?
Additional question: Is there a way to let sed show the number of replaced occurencies BEFORE or AFTER the run?
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Assume I have a file D:\somedir\myfile123.txt
and I want to replace all occurencies of the two (concatenated) hex values x'AD' x'A0' by
two other (concatenated) hex values x'20' x'6E'
How can I achieve this with the gnu sed tool (from a dos batch script)?
Additional question: Is there a way to let sed show the number of replaced occurencies BEFORE or AFTER the run?
Thomas