sd converts search string and replacement string into UTF-8. Thus, sd cannot search & replace binary bytes in the range 0x80 to 0xFF. For example: `sd '\xC4' 'xC7' binary-file` would not replace byte 0xC4 with byte 0xC7
sd converts search string and replacement string into UTF-8.
Thus, sd cannot search & replace binary bytes in the range 0x80 to 0xFF.
For example:
sd '\xC4' 'xC7' binary-filewould not replace byte 0xC4 with byte 0xC7