From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.3/8.13.3) with ESMTP id j2SHSnif025595 for ; Mon, 28 Mar 2005 17:28:49 GMT Received: from the-luckyduck.de ([217.160.134.226]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DFy2h-0008QH-Dw for gentoo-dev@robin.gentoo.org; Mon, 28 Mar 2005 17:28:47 +0000 Received: from pd9fcbd39.dip0.t-ipconnect.de (localhost) [217.252.189.57]by the-luckyduck.dewith esmtpsa(tls_cipher TLSv1:DHE-RSA-AES256-SHA:256)(Exim 4.43 #1 (Gentoo Linux 1.4))id 1DFy3A-0005gH-Kq; Mon, 28 Mar 2005 19:29:22 +0200 Date: Mon, 28 Mar 2005 19:28:39 +0200 From: Jan Brinkmann To: gentoo-dev@robin.gentoo.org Subject: Re: [gentoo-dev] perl, sed and non-gsed Message-ID: <20050328172837.GA9742@luckyduck.tux> References: <200503281806.17832@enterprise.flameeyes.is-a-geek.org> Precedence: bulk List-Post: , , List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-To: gentoo-dev@gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <200503281806.17832@enterprise.flameeyes.is-a-geek.org> X-PGP-Key: http://the-luckyduck.de/~lucky/pubkey.asc User-Agent: Mutt/1.5.6i X-Antivirus-Scanned: Clean X-Spam-Score: -105.9 (---------------------------------------------------) X-Spam-Report: Spam detection software, running on the system "p15113599.pureserver.info", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Mon, Mar 28, 2005 at 06:06:17PM +0200, Diego Flameeyes Pettenò wrote: > Hi, Hi :) > As perl is not in the core packages, using this requires adding perl to the > buildtime dependency of the package. This is anyway an useless dependency as > it isn't needed for something like that. It looks like perl is in the base system. Take a look into /usr/portage/profiles/base/packages: [...] Content analysis details: (-105.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -100 USER_IN_WHITELIST From: address is in the user's white-list -3.3 ALL_TRUSTED Did not pass through any untrusted hosts -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.0 AWL AWL: From: address is in the auto white-list X-Archives-Salt: 1d7339ae-af72-49b6-9aa3-a82642caafcc X-Archives-Hash: c2e89a222f980379172429c5025778c1 --azLHFNyN32YCQGCU Content-Type: text/plain; charset=utf8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 28, 2005 at 06:06:17PM +0200, Diego Flameeyes Petten=C3=B2 wrot= e: > Hi, Hi :) > As perl is not in the core packages, using this requires adding perl to t= he=20 > buildtime dependency of the package. This is anyway an useless dependency= as=20 > it isn't needed for something like that. It looks like perl is in the base system. Take a look into /usr/portage/profiles/base/packages: *dev-lang/perl > A good replacement for it is using sed -i -e expression file, which is th= e=20 > same thing. >=20 > Please also note that using a sintax like that: >=20 > sed -e expression file file file -i >=20 > just works on gsed, but doesn't work with other sed implementations (bsdi= sh,=20 > macos, solaris, ...). -i must be put before any -e! >=20 > Please update the erroneous ebuild, as these could make problems when=20 > gentoo/non-linux-os . >=20 But I generally agree that it's not necessary to use perl where sed is sufficient. :) --=20 Jan Brinkmann : Gentoo Developer (Amd64, Java, Sound, Video) Email: luckyduck (at) gentoo.org Web: http://the-luckyduck.de GPG: gpg --keyserver pgp.mit.edu --recv-key 0xE38C3BBF --azLHFNyN32YCQGCU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCSD7F06ebR+OMO78RAmcJAJ9rsZ3/CjRGGk3to5YtgsNAuaA24wCbBB4D ysDDixtV/SWYtxLyZMoU3mk= =ryRm -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU-- -- gentoo-dev@gentoo.org mailing list