git: 03bff02e81d3 - stable/13 - Revert "fix using man(1) with multiple pages"

From: Wolfram Schneider <wosch_at_FreeBSD.org>
Date: Mon, 15 Jan 2024 19:08:19 UTC
The branch stable/13 has been updated by wosch:

URL: https://cgit.FreeBSD.org/src/commit/?id=03bff02e81d38f0241b44769a79eb96f94a4960b

commit 03bff02e81d38f0241b44769a79eb96f94a4960b
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2024-01-15 19:05:08 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2024-01-15 19:05:08 +0000

    Revert "fix using man(1) with multiple pages"
    
    This reverts commit 79e7fef944f7f4bb6865d2b5d0d38b7933ed6e79.
    
    man.sh on stable/13 is missing some new features.
    Unfortunately this means that this fix is not working as on stable/14.
    Be patient and wait until the following 2 commits are ready to merge.
---
 usr.bin/man/man.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh
index 9c90f0a6a9b5..114ea9d7a0b2 100755
--- a/usr.bin/man/man.sh
+++ b/usr.bin/man/man.sh
@@ -973,7 +973,7 @@ do_man() {
 	fi
 	man_setup
 
-	for page in "$@"; do
+	for page in "$pages"; do
 		decho "Searching for \"$page\""
 		man_find_and_display "$page"
 	done