From nobody Mon Jan 15 07:37:38 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TD3rf6qhwz56DPW; Mon, 15 Jan 2024 07:37:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TD3rf456Qz4dCK; Mon, 15 Jan 2024 07:37:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705304258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MVZHOUwLeEcMFWlVwee8ClgcdLcOLkJ+7rClRCeZnkw=; b=yoRIxmkudeO+B+VM1uQsNITkgQ0ZlFnbzdedzC+Qk29dfbyjxLA3qFe+9UTfOKw0YxXoG/ tM9VgvSgW9CyP8uWaF0vyj0r4+g6FRFrT8TGQCdmUikavPlYAk3W+xSQz5WJ/QFKzXjms3 frbs+hYCJ4F3XX5UpF1rBYwU8jDPi+wlXjdP6d/JhEGcTwO1ZAGBc5yrg4e24LwQI87UT/ l4RevG/qgh+BOxBnU0ZSDzBdBUTLYmwpPsb6KC0InsvbbzbZTcr3wAH7jxBLwMyBx9jDCX YKNYLnsWPqiTw8QIBsMxrpN5Ms/Ewv58ksmY7AiE9xVGu86IiXYgxNrvYrkGTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705304258; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MVZHOUwLeEcMFWlVwee8ClgcdLcOLkJ+7rClRCeZnkw=; b=C7Tt1EGkyYGOp4F7AmtC/Q6+AAedrO1+yQrON++8UmUVNe3lxmsKwHYUmt2Zrtv+DV3vjv MkUGjFp7jON0Jq4MifEHidcb1AIx993SwDQO7yBtRDqPJLvTFq/gBFltQeMOO2v9D0PKRM rdDsNdQG63o3JoAdwqBJHWhaeMjNtDv+jcF2aTr19n6+rwZA2OkqOTKTS8KX0oejdGMn2u GgLAGDZxLgzeP+ia6O5ISSxdvovI63+9A3/Ja9hDjNv1IXTOiYqMFFTLqpGdBblN2gdyck qr1xNnw3ud6NjL1+k4uAHgEAW7OL0LofS7xYbhLfWYZOB+0JD3x/IREy+ow/cQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705304258; a=rsa-sha256; cv=none; b=T7MbvJKYip3MYlHmzW16j/Xh/7bjIw+xNX8phjNVwJYO0hT92wG2ofPSa3/UmKey9pGOWy LAkw2bG8dkkFbFkSNB1d/p7b+a0XQBCfw+zdF3Hggl8TixXnUcX5DeEHezQyoEYvWuqoG+ tAxwSVgHgSgFI3fZ3JEvqmev69AuZ5ZRYzgAcNQQ2pWeC5xWasGd6El/KG/+HZ/T1dD9mc Wywwm/h/YoAyhsq+DFiBcIlllJs5S22ZRi0kTapaIHTtmtx/hbuoDTiKdACV1tD7tg3ijW VOAtcZBYBIiizRDvI3oqxiRZ2mY4R5W0W+3S46RXo0nI8XO+RBkjBQFDoAWWSg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TD3rf3B5xznbl; Mon, 15 Jan 2024 07:37:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40F7bcnX015695; Mon, 15 Jan 2024 07:37:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40F7bcX2015692; Mon, 15 Jan 2024 07:37:38 GMT (envelope-from git) Date: Mon, 15 Jan 2024 07:37:38 GMT Message-Id: <202401150737.40F7bcX2015692@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Wolfram Schneider Subject: git: 79e7fef944f7 - stable/13 - fix using man(1) with multiple pages List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wosch X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 79e7fef944f7f4bb6865d2b5d0d38b7933ed6e79 Auto-Submitted: auto-generated The branch stable/13 has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=79e7fef944f7f4bb6865d2b5d0d38b7933ed6e79 commit 79e7fef944f7f4bb6865d2b5d0d38b7933ed6e79 Author: Wolfram Schneider AuthorDate: 2024-01-08 15:53:11 +0000 Commit: Wolfram Schneider CommitDate: 2024-01-15 07:36:59 +0000 fix using man(1) with multiple pages PR: 275978 Reported by: Mohamed Akram Fixes: 789480702e490818244af11279868ba4f3dabe6b MFC after: 1 week (cherry picked from commit 1e82d882ed3372bcaf82451bfb865483a409ab1f) --- 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 114ea9d7a0b2..9c90f0a6a9b5 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 "$pages"; do + for page in "$@"; do decho "Searching for \"$page\"" man_find_and_display "$page" done