[Bug 247931] sed "y" command bracket balancing check

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 26 09:16:06 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247931

--- Comment #6 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: yuripv
Date: Sun Jul 26 09:15:05 UTC 2020
New revision: 363543
URL: https://svnweb.freebsd.org/changeset/base/363543

Log:
  sed: treat '[' as ordinary character in 'y' command

  'y' does not handle bracket expressions, treat '[' as ordinary character
  and do not apply bracket expression checks (GNU sed agrees).

  PR:           247931
  Reviewed by:  pfg, kevans
  Tested by:    antoine (exp-run), Quentin L'Hours <lhoursquentin at gmail.com>
  Differential Revision:        https://reviews.freebsd.org/D25640

Changes:
  head/usr.bin/sed/compile.c
  head/usr.bin/sed/tests/sed2_test.sh

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-bugs mailing list