From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42CE8138330 for ; Mon, 22 Aug 2016 21:46:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7DE821C20C; Mon, 22 Aug 2016 21:45:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1C4E21C09D for ; Mon, 22 Aug 2016 21:45:51 +0000 (UTC) Received: from localhost (unknown [100.42.103.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id 5861E340688 for ; Mon, 22 Aug 2016 21:45:50 +0000 (UTC) Date: Mon, 22 Aug 2016 16:45:25 -0500 From: William Hubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] newsitem: OpenRC runscript transition (draft 2) Message-ID: <20160822214525.GA18116@whubbs1.gaikai.biz> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20160822190356.GA18101@linux1> <22459.22604.492563.512013@a1i15.kph.uni-mainz.de> 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <22459.22604.492563.512013@a1i15.kph.uni-mainz.de> User-Agent: Mutt/1.5.24 (2015-08-30) X-Archives-Salt: ba9b7c90-7e62-467b-8771-483e3ed70ae0 X-Archives-Hash: 15fb32b946eceab5becc6cf989745e0f --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 22, 2016 at 09:53:48PM +0200, Ulrich Mueller wrote: > >>>>> On Mon, 22 Aug 2016, William Hubbs wrote: >=20 > > Display-If-Installed: =20 > Why the condition on the version number? I suppose I could change this to just sys-apps/openrc >=20 > > # emerge --oneshot -av $(grep -l "#!/sbin/runscript" /etc/init.d/*) >=20 > Hm, I think you'll want single quotes there, otherwise the exclamation > mark could trigger bash history expansion. Alternatively, grep for > /sbin/runscript without the shebang (with the additional advantage > that it would also catch cases with whitespace after the #!). Is '#! /sbin/runscript' a valid shebang line? I didn't think you could have whitespace after the '#!'. William --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAle7cm8ACgkQblQW9DDEZTis/wCffApygk7TCr6d1yroNOmYt0+D oscAnR/j+CuM6awQWBciujEFQhUFHEd5 =polT -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI--