From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 534A6138CA2 for ; Tue, 21 Apr 2015 19:08:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6FA3E08AB; Tue, 21 Apr 2015 19:08:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48532E089E for ; Tue, 21 Apr 2015 19:08:55 +0000 (UTC) Received: from [192.168.1.100] (c-98-218-46-55.hsd1.md.comcast.net [98.218.46.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mjo) by smtp.gentoo.org (Postfix) with ESMTPSA id 940BB340B10 for ; Tue, 21 Apr 2015 19:08:54 +0000 (UTC) Message-ID: <5536A040.6000509@gentoo.org> Date: Tue, 21 Apr 2015 15:08:48 -0400 From: Michael Orlitzky User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Re: [PATCHv3 1/2] MEDIUM: misc-functions: Be more quiet when removing non existing INSTALL_MASK References: <1429559160-11646-1-git-send-email-bertrand@jacquin.bzh> <55358E1D.1070801@gentoo.org> <55359BBB.4080605@gentoo.org> <553632C5.2070508@gentoo.org> <553688C3.1020300@gentoo.org> In-Reply-To: <553688C3.1020300@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 0e062a92-9f76-4215-bf8b-286279676a44 X-Archives-Hash: f1a4453ae655427d91c4759e8d9fac9a On 04/21/2015 01:28 PM, Zac Medico wrote: >> >> The docs for INSTALL_MASK (man 5 make.conf) don't mention that globs >> will work. It's expecting a "space delimited list of file names." Does >> it really take a space-delimited list of globs instead? If so, how does >> that reconcile with the fact that * could match spaces? > > How does it conflict? > I guess it's more of a filenames-with-spaces question. Would this work? INSTALL_MASK="Boyd\ -\ Convex Optimization.pdf" If you can escape the spaces, then the space-separated globs aren't ambiguous. I was thinking of something like this: $ /bin/ls B*\ Convex* Boyd - Convex Optimization.pdf Normally if you stick something like that in a quoted variable, its spaces can be unescaped: INSTALL_MASK="B* Convex*" But now it's two globs instead of one. The whole thing makes sense if you can leave the space escaped though.