|
From: | Paul Jarc |
Subject: | Re: sed error message reports byte position instead of char position when program contains UTF-8 |
Date: | Wed, 15 May 2013 14:36:47 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Eli Zaretskii <address@hidden> wrote: > Options to the 's' command are all pure-ASCII single-byte characters, > so Sed is correct in this case, I think. I don't think so. The example doesn't violate that rule. The unknown option is "/". But due to a multibyte character in the pattern, the offset is either miscalculated (should say "11" instead of "12") or badly described (should say "byte" instead of "char"). paul
[Prev in Thread] | Current Thread | [Next in Thread] |