Date: Tue, 08 Jan 2019 19:08:20 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 113343] [patch] grep(1) outputs NOT-matched lines (with multi-bytes characters) Message-ID: <bug-113343-227-hJSrSIXV5d@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-113343-227@https.bugs.freebsd.org/bugzilla/> References: <bug-113343-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D113343 Pedro F. Giffuni <pfg@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kevans@freebsd.org, | |pfg@FreeBSD.org --- Comment #2 from Pedro F. Giffuni <pfg@FreeBSD.org> --- For the record: FreeBSD 6.2 shipped with GNU grep 2.5.1 whish is basically the same we are using as of FreeBSD 12.0: % grep --version grep (GNU grep) 2.5.1-FreeBSD Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The patch applies almost cleanly: % svn patch --dry-run gnu-grep.diff U gnu/usr.bin/grep/search.c > applied hunk @@ -400,9 +400,12 @@ with offset 1 > applied hunk @@ -462,9 +465,12 @@ with offset 1 > applied hunk @@ -925,15 +931,21 @@ with offset 1 > applied hunk @@ -1051,5 +1063,6 @@ with offset 1 and fuzz --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-113343-227-hJSrSIXV5d>