]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
man: fix `man -K` search
authorEd Maste <emaste@FreeBSD.org>
Tue, 1 Aug 2023 18:00:48 +0000 (14:00 -0400)
committerEd Maste <emaste@FreeBSD.org>
Wed, 2 Aug 2023 20:46:57 +0000 (16:46 -0400)
commit8a5c836b51ce29fb22e0692c03fbc1e405c6522f
tree56daf93fd9ccd4145345ce3ddb85a33b78262b38
parent0c783a37d5d52af8cd706eb462e73801e77c6b35
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ć <freebsd@igalic.co>
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41282
usr.bin/man/man.sh