Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Aug 2023 18:03:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 272729] space character in `man -K` option's regex
Message-ID:  <bug-272729-9-RTgJMta4WB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272729-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272729-9@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=3D272729

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #3 from Ed Maste <emaste@freebsd.org> ---
(In reply to Yuri Pankov from comment #1)
The only part needed should be:
grep -E ${gflags} "${manfile}" -e "${re}"

Spaces are preserved in variable assignment, e.g. in re=3D${1}

Proposed change in https://reviews.freebsd.org/D41282

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272729-9-RTgJMta4WB>