From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 22:55:58 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3809C682 for ; Fri, 12 Sep 2014 22:55:58 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F13B17A5 for ; Fri, 12 Sep 2014 22:55:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s8CMtvM3084262 for ; Fri, 12 Sep 2014 22:55:57 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s8CMtvmY084261 for freebsd-current@freebsd.org; Fri, 12 Sep 2014 22:55:57 GMT (envelope-from bdrewery) Received: (qmail 7493 invoked from network); 12 Sep 2014 17:55:53 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 12 Sep 2014 17:55:53 -0500 Message-ID: <541379F0.6030002@FreeBSD.org> Date: Fri, 12 Sep 2014 17:55:44 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Lyndon Nerenberg , Craig Rodrigues Subject: Re: shells/bash port, add a knob which symlinks to /bin/bash ? References: <20140912214004.GT6096@ivaldir.etoilebsd.net> <54136D5D.3090905@mu.org> <3A3F0052-5F35-4381-93E3-EAAE0616D292@orthanc.ca> In-Reply-To: <3A3F0052-5F35-4381-93E3-EAAE0616D292@orthanc.ca> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Mb27xDxPbDQjsBGpfFi4BgatDv9HD7utL" Cc: freebsd-current Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2014 22:55:58 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Mb27xDxPbDQjsBGpfFi4BgatDv9HD7utL Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 9/12/2014 5:45 PM, Lyndon Nerenberg wrote: >=20 > On Sep 12, 2014, at 3:23 PM, Craig Rodrigues wrot= e: >=20 >> Forcing all upstream script writers to switch to "#!/usr/bin/env bash"= , or >> to convert their scripts to "#!/bin/sh" and remove all bash-specific >> behaviors, is getting harder and harder, >> since many people are exposed to MacOS X and Linux on desktops. >=20 > Given the rigid nature of shebangs to begin with, it's really not that = hard to write a sed command that will capture all instances of '#!.../bas= h[ foo]' and wire in an appropriate value of '...'. >=20 > In fact, this case is a ripe candidate for a command macr= o. >=20 > --lyndon >=20 There already is one and ports requires using it! --=20 Regards, Bryan Drewery --Mb27xDxPbDQjsBGpfFi4BgatDv9HD7utL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJUE3nwAAoJEDXXcbtuRpfPBJYIANKTM/ThK1u9fXo3t1XiJU9I ItU+Mag38mTFTtne1IA92XrRn+36RyKD4nB3oqI+yYfOIVqjrn7PKh9f5KoPaBWJ Ws5yZCPCWVKhkz0K7zbEcohTfa5GvAlmm0YsgFp9ODQpe5EuN7e24tRYepCqkFsS dx7V3GCQz86rWDkQziiyQZkI3TEmoipyyMeOCDPNDyEQscYnOTE5K6WjWKvyS4Hr DnDEUXqKZVac55jOXfvCxPrfEc1LCAYG7MvHZop65cCNB6KjoYA4eVOg8QxlXSGd M/P5Tto0WaCZRtP2FVu+w0Jd+jd/ocx4xlXigl3gGP1qAqb/LaXa2xQxzrDUSTg= =Gqp+ -----END PGP SIGNATURE----- --Mb27xDxPbDQjsBGpfFi4BgatDv9HD7utL--