Skip to content

sd cannot search & replace binary bytes in the range 0x80 to 0xFF #312

@dungsaga

Description

@dungsaga

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

Metadata

Metadata

Assignees

Labels

M-invalidMeta: This doesn't seem right

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions