From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 67C9A158064 for ; Wed, 1 May 2024 09:08:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D5BBE29E6; Wed, 1 May 2024 09:08:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6CB3E29D6 for ; Wed, 1 May 2024 09:08:03 +0000 (UTC) From: Ulrich Mueller To: Florian Schmaus Cc: gentoo-dev@lists.gentoo.org, tex@gentoo.org Subject: Re: [gentoo-dev] [PATCH v2] texlive-module.eclass: install man pages in right location In-Reply-To: <20240501084411.46961-1-flow@gentoo.org> (Florian Schmaus's message of "Wed, 1 May 2024 10:44:11 +0200") References: <20240430085303.197375-1-flow@gentoo.org> <20240501084411.46961-1-flow@gentoo.org> Date: Wed, 01 May 2024 11:07:53 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: de87d1ce-5eaf-46de-9461-c654815090bb X-Archives-Hash: 8cfa95bfd6efde69e15731cba46abfb1 --=-=-= Content-Type: text/plain >>>>> On Wed, 01 May 2024, Florian Schmaus wrote: > + local grep_expressions=() Declare f as local, too. > + # Transform texlive_core_man_pages into grep expressions > + # that will be used to filter out any man page that is > + # already installed by app-text/texlive-core. > + for f in "${texlive_core_man_pages[@]}"; do > + # Ensure that all dots are escaped so that they are > + # matched lilterarily. Also wrap the file in '/' and '$' "literarily" > + # within the expression. > + grep_expressions+=(-e "/${f//./\\.}$") Hm, bash seems to be o.k. with this final lone dollar sign, but maybe it would be cleaner to escape it as "\$". > + done --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmYyBmkPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4u6AEIAMd43COJvOyp/tF17SfoCapWdDE7yofRp0IF Eo0c6eCsnOdbyiLn8K/yPTtS/PER9taKmhM9w4MVQXTgVB/Hddh86toTfb2IvyL3 1vsqoE6GvhlLM/TD8898WdCsW8aehqs2Kg7rk5NE8sORKG/CE4TaJbvup3CBbkc7 I6kH1wZJU9D3rVXcuF/LIbKp893A1duCiIPlaw6Os7iMIPLinGmQyD8vB9YwQuC5 nRQtwuKsR3MdrgC3gvKLveDyILxh961dPRXJu40VfCFYfsbQzh+lFUqyIIPgFAuT fd3yHhVu3LaXJweop0uP4dUfj7wrzzIDwcEdKAlBVDKvYU/c0bg= =invG -----END PGP SIGNATURE----- --=-=-=--