Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Aug 2023 20:48:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 272729] space character in `man -K` option's regex
Message-ID:  <bug-272729-227-O1Bj0MUofS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272729-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272729-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=3D272729

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D8a5c836b51ce29fb22e0692c03fbc1e40=
5c6522f

commit 8a5c836b51ce29fb22e0692c03fbc1e405c6522f
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-08-01 18:00:48 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-08-02 20:46:57 +0000

    man: fix `man -K` search

    Quote re arg to grep in case it has spaces, and quote [:blank:] tr arg
    to avoid the shell interpreting [].

    PR:             272729
    Reviewed by:    Mina Gali=C4=87 <freebsd@igalic.co>
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D41282

 usr.bin/man/man.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--=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-272729-227-O1Bj0MUofS>