Date: Fri, 20 Jan 2017 14:03:46 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 195763] bsdgrep, empty matches and -o Message-ID: <bug-195763-8-QlGBF3bzQ6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-195763-8@https.bugs.freebsd.org/bugzilla/> References: <bug-195763-8@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=3D195763 --- Comment #2 from Kyle Evans <bsdports@kyle-evans.net> --- (In reply to Kyle Evans from comment #1) The 'ignore invalid patterns' change my previous patch makes seems definiti= vely wrong -- I'll have to revise this part and I'm just going to leave this her= e: $ echo 'test' | grep '' test $ echo 'test' | grep -o '' $ echo 'test' | bsdgrep '' test $ echo 'test' | bsdgrep -o '' The regex bits declare this as a 4-character match, not sure off-hand how to treat this but I don't believe ignoring the pattern is the right thing to d= o. --=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-195763-8-QlGBF3bzQ6>