From owner-freebsd-stable@FreeBSD.ORG Sun Jan 30 11:08:21 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1222016A4CE for ; Sun, 30 Jan 2005 11:08:21 +0000 (GMT) Received: from smtp.uni-oldenburg.de (smtp.uni-oldenburg.de [134.106.87.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5065943D2F for ; Sun, 30 Jan 2005 11:08:20 +0000 (GMT) (envelope-from raabe@kde.org) Received: from icarus.lan (arbi-dyn-11-4.Informatik.Uni-Oldenburg.DE [134.106.11.194])j0UB8Hfn028053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Jan 2005 12:08:17 +0100 Received: from icarus.lan (localhost.lan [127.0.0.1]) by icarus.lan (8.13.1/8.13.1) with ESMTP id j0UB8RZp016800; Sun, 30 Jan 2005 12:08:27 +0100 (CET) (envelope-from raabe@kde.org) Received: from localhost (localhost [[UNIX: localhost]]) by icarus.lan (8.13.1/8.13.1/Submit) id j0UB8JKp016790; Sun, 30 Jan 2005 12:08:19 +0100 (CET) (envelope-from raabe@kde.org) X-Authentication-Warning: icarus.lan: frerich set sender to raabe@kde.org using -f From: Frerich Raabe Organization: KDE Project To: Lev Serebryakov Date: Sun, 30 Jan 2005 12:08:14 +0100 User-Agent: KMail/1.7.2 References: <20050129202425.GA56998@heechee.tobez.org> <1985053043.20050130134456@serebryakov.spb.ru> In-Reply-To: <1985053043.20050130134456@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2482989.fHlQjUBQUU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200501301208.19650.raabe@kde.org> X-PMX-Version: 4.7.0.111621, Antispam-Engine: 2.0.2.0, Antispam-Data: 2005.1.30.1 X-PerlMx-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __HAS_MSGID 0, __MIME_VERSION 0, __SANE_MSGID 0' cc: freebsd-stable@freebsd.org Subject: Re: [HEADS UP] perl symlinks in /usr/bin will be gone X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 11:08:21 -0000 --nextPart2482989.fHlQjUBQUU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 30 January 2005 11:44, Lev Serebryakov wrote: > AB> Unless I hear too many cries "don't do that" (with justification), I > AB> plan to not create any perl symlinks in /usr/bin in the forthcoming > AB> upgrade of both lang/perl5.8 (to 5.8.6) and lang/perl5 (to 5.6.2). > > AB> In practical terms this will mean a one-time sweep of your scripts in > AB> order to convert them, in a typical case, from #! /usr/bin/perl to > AB> #! /usr/local/bin/perl. > In all scripts of all my friends, who have hosting on my server & use > perl scripts? NO, THANKS! Don't despair, ironically Perl itself can solve this problem for you, using= =20 something like=20 find /some/directory -type f -print0 | \ xargs -0 perl -pi -e 's,^#! ?/usr(/local)?/bin/perl,#!/usr/bin/env perl' =2D Frerich =2D-=20 Windows: "Where do you want to go today?" Linux: "Where do you want to go tomorrow?" =46reeBSD: "Are you guys coming, or what?" --nextPart2482989.fHlQjUBQUU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBB/MAj+Cc0VGj85/ARAvc7AJwM+4bgP4p+zXsPA45vZ3s3K4hrkwCgnfmC s4Me86yCK6YKHmmQXUqhpqk= =fS0G -----END PGP SIGNATURE----- --nextPart2482989.fHlQjUBQUU--