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 D1377138330 for ; Tue, 23 Aug 2016 00:57:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFB0721C07D; Tue, 23 Aug 2016 00:56:59 +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 D029121C072 for ; Tue, 23 Aug 2016 00:56:58 +0000 (UTC) Received: from [192.168.1.56] (c-73-173-67-16.hsd1.va.comcast.net [73.173.67.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jcallen) by smtp.gentoo.org (Postfix) with ESMTPSA id 092B43407D0 for ; Tue, 23 Aug 2016 00:56:56 +0000 (UTC) Subject: [gentoo-dev] Re: newsitem: OpenRC runscript transition (draft 2) To: gentoo-dev@lists.gentoo.org References: <20160822190356.GA18101@linux1> <22459.22604.492563.512013@a1i15.kph.uni-mainz.de> <20160822214525.GA18116@whubbs1.gaikai.biz> From: Jonathan Callen Message-ID: <3b4fbcd2-d697-5e6a-c0d5-d2d272f262ee@gentoo.org> Date: Mon, 22 Aug 2016 20:56:49 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 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 In-Reply-To: <20160822214525.GA18116@whubbs1.gaikai.biz> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="vvdC6OtmJAiIxLQ47tC32w5riHSjkWOhv" X-Archives-Salt: 6f8d9393-cabc-46ff-9919-3ec73e1d518d X-Archives-Hash: 0f23fee1d955bcdf75644b9c8bb8e582 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vvdC6OtmJAiIxLQ47tC32w5riHSjkWOhv Content-Type: multipart/mixed; boundary="AJBF9otIu6fBJJoj0lD9j3GKInRSnXiqw" From: Jonathan Callen To: gentoo-dev@lists.gentoo.org Message-ID: <3b4fbcd2-d697-5e6a-c0d5-d2d272f262ee@gentoo.org> Subject: Re: newsitem: OpenRC runscript transition (draft 2) References: <20160822190356.GA18101@linux1> <22459.22604.492563.512013@a1i15.kph.uni-mainz.de> <20160822214525.GA18116@whubbs1.gaikai.biz> In-Reply-To: <20160822214525.GA18116@whubbs1.gaikai.biz> --AJBF9otIu6fBJJoj0lD9j3GKInRSnXiqw Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/22/2016 05:45 PM, William Hubbs wrote: > On Mon, Aug 22, 2016 at 09:53:48PM +0200, Ulrich Mueller wrote: >>>>>>> On Mon, 22 Aug 2016, William Hubbs wrote: >> >>> Display-If-Installed: > >> Why the condition on the version number? >=20 > I suppose I could change this to just sys-apps/openrc >=20 >> >>> # emerge --oneshot -av $(grep -l "#!/sbin/runscript" /etc/init.d/*) >> >> 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 #!). >=20 > Is '#! /sbin/runscript' a valid shebang line? I didn't think you could > have whitespace after the '#!'. >=20 > William >=20 Yes, it is. I just checked my /usr/bin, and found over 100 scripts that all begin with the string "#! /", including many scripts from autoconf, among others. --=20 Jonathan Callen --AJBF9otIu6fBJJoj0lD9j3GKInRSnXiqw-- --vvdC6OtmJAiIxLQ47tC32w5riHSjkWOhv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIwBAEBCgAaBQJXu59VExxqY2FsbGVuQGdlbnRvby5vcmcACgkQQhBu9hEHeaCj Ag//aKcU2rJwuICv8toeSG3DeOTxIPNoJAal8NHE4r1EVKquvSYbYfK52Wfa1rGG cA1PZvs8dXRNPc3vzR+JlN1iq5bJaza4Td65LcNQIYMyAOIPEDjLN0V4fRM59p8w 9abVQtAVfV/JihhqzGefbTbtV7YJSYpoyv+hUkKYzaCJC8COLt7ucNH64dTG00OA EYL/w0rs+2fci4a61DqQ1U1fF7eWsArbQYjjlxUreqEP9Qu0sNzJTrgNjEuw+1R3 iylADGlu5MWvR+LPyWX5+/X0FWFQAIGhlfF+dHAmnmrv0mSO1/hvWMGHI3a4s0cO 8FlIjwle6tF1O3McdP2HNsdmkemZBt8JWgAdiVgJ06VivE+YQiDlwXJLA4k1RUXb qlhMo0s59KJUEYMHhW0/in87+baDxxm/SxeRJL52pnvYnJteYB9A5lg8Li02kIyL 8aH/YHTlyK0WveFIs670yCeBeKNX8FoXCrKk/3dmJVC6rlpsKSHUEwxYidSM8pGF K+x13Ti+fP9bXY7CVZY+fbznhkTFrzk7ihhRD/ljvjEeRGSihh3S4sUWiLDsAVlj ElPRi18qVS0Cewg2W2433W0ckW1eKH3QrVF2lpRclGAA7A5p7ldRm+W5I9cZ6oQg wjqoKYhDbGmyUz7tMC4EKTFfA2oeI5+M9HtLxiLytyK1mF8= =x4qq -----END PGP SIGNATURE----- --vvdC6OtmJAiIxLQ47tC32w5riHSjkWOhv--