From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lb0yP-0007R8-Nq for garchives@archives.gentoo.org; Sat, 21 Feb 2009 23:09:29 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67C31E0425; Sat, 21 Feb 2009 23:09:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 3C5DEE0425 for ; Sat, 21 Feb 2009 23:09:28 +0000 (UTC) Received: from [192.168.22.10] (ip68-4-152-120.oc.oc.cox.net [68.4.152.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id B8120B68CE for ; Sat, 21 Feb 2009 23:09:27 +0000 (UTC) Message-ID: <49A089B6.1060107@gentoo.org> Date: Sat, 21 Feb 2009 15:09:42 -0800 From: Zac Medico User-Agent: Thunderbird 2.0.0.19 (X11/20081209) 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 MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Proposal for compression handling References: <20090218083958.01f2111f@gentoo.org> <20090218140646.10282a5b@snowcone> <18844.9899.336441.721100@a1i15.kph.uni-mainz.de> <20090218152137.221889fe@snowcone> <18844.11606.213809.834453@a1i15.kph.uni-mainz.de> <20090218155035.1eac6792@snowcone> <20090218200104.291e07bc@gentoo.org> <18845.15657.287751.241885@a1ihome1.kph.uni-mainz.de> <20090219212529.077215c9@snowcone> <18845.55088.253639.467230@a1ihome1.kph.uni-mainz.de> <20090220074211.GA11265@hrair> <18846.25316.785936.848950@a1ihome1.kph.uni-mainz.de> In-Reply-To: <18846.25316.785936.848950@a1ihome1.kph.uni-mainz.de> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9318abb4-93ab-4a43-9c52-e3fd22f52b44 X-Archives-Hash: 98e10a2bb7778577a38fea12704dfad7 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ulrich Mueller wrote: >>>>>> On Thu, 19 Feb 2009, Brian Harring wrote: > >>> - "docompress" (without option or with option "-a"): add paths >>> (directories or files) to the inclusion list >>> - "docompress -x": add paths to the exclusion list > >> Globbing support? > > No, I would say. The other do* commands don't have it, and > "docompress -x foo*" will work anyway since the argument is expanded > before calling the function. Keep in mind that using a glob that way is going to mean that docompress has to join each path with the current directory and then strip $D from the left side. Doing it that way complicates the implementation details a bit, and it's not quite as flexible as regular expression support would be. With regular expression support you could even control which file extensions are compressed or not. - -- Thanks, Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEARECAAYFAkmgibEACgkQ/ejvha5XGaO3IwCfW+qTR7yMYo1D7XYk6QnUsM+s 4hYAoL4efSmN/xxZog1RGLuWtIqaN/h3 =YWcZ -----END PGP SIGNATURE-----