Hello,
The sed manual has been expanded
to discuss locale and invalid multybyte sequences,
incorporating some details from this thread.
See:
https://git.savannah.gnu.org/cgit/sed.git/commit/?id=05800ee0b7
regards,
- assaf
> Sed silently ignores (or what it does? - no info) invalid
> multibyte sequences in the input: no halt, no message,
> no false exit-code.
This is unfortunate but expected. "." does not match a bad sequence,
see the fast path for UTF-8 in lib/regexec.c's check_node_accept_bytes:
returning 0 means
2 matches
Mail list logo