sed(1) 'y' command incorrectly ignore last character.
Issue #135
resolved
try following:
$ echo -n a | sed 'y/a/b/'
from FreeBSD:
https://svnweb.freebsd.org/base?view=revision&revision=98743 Fix off by one in `y' (transliterate) command which caused the last character of the pattern space not to be examined.
Noticed by: Motoyuki Konno motoyuki@bsdclub.org
Comments (1)
-
reporter - Log in to comment
BUGFIX: Issue
#135-- off-by-one, 'y' command ignore last input character.patch taken from FreeBSD: https://svnweb.freebsd.org/base?view=revision&revision=98743
→ <<cset 28918126a4e8>>