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 994C213832E for ; Mon, 22 Aug 2016 19:54:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 342F321C17C; Mon, 22 Aug 2016 19:54:01 +0000 (UTC) Received: from mail.kph.uni-mainz.de (mail.kph.uni-mainz.de [134.93.132.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 227DE21C0E1 for ; Mon, 22 Aug 2016 19:53:59 +0000 (UTC) Received: from mailgate-1.kph.uni-mainz.de (mailgate-1.kph.uni-mainz.de [134.93.132.27]) by mail.kph.uni-mainz.de (8.14.5/8.14.5) with ESMTP id u7MJrqE2039051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Aug 2016 21:53:52 +0200 (CEST) (envelope-from ulm@kph.uni-mainz.de) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by mailgate-1.kph.uni-mainz.de (8.14.5/8.14.5) with ESMTP id u7MJroqI043744; Mon, 22 Aug 2016 21:53:50 +0200 (CEST) (envelope-from ulm@kph.uni-mainz.de) Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id u7MJrm4T023947; Mon, 22 Aug 2016 21:53:48 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id u7MJrmM5023943; Mon, 22 Aug 2016 21:53:48 +0200 Message-ID: <22459.22604.492563.512013@a1i15.kph.uni-mainz.de> Date: Mon, 22 Aug 2016 21:53:48 +0200 To: gentoo-dev@lists.gentoo.org Cc: pr@gentoo.org Subject: Re: [gentoo-dev] newsitem: OpenRC runscript transition (draft 2) In-Reply-To: <20160822190356.GA18101@linux1> References: <20160822190356.GA18101@linux1> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller 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; boundary="pgp+signed+eM5YAajI+YNpIUY"; micalg=pgp-sha256; protocol="application/pgp-signature" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mailgate-1.kph.uni-mainz.de [134.93.132.27]); Mon, 22 Aug 2016 21:53:50 +0200 (CEST) X-Spam-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mailgate-1.kph.uni-mainz.de X-Archives-Salt: 4d4348a4-e624-4019-8283-03c2d9cebac9 X-Archives-Hash: a8909b6dbbd065dd49024b531d7c0632 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --pgp+signed+eM5YAajI+YNpIUY Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >>>>> On Mon, 22 Aug 2016, William Hubbs wrote: > Display-If-Installed: # 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 #!). Ulrich --pgp+signed+eM5YAajI+YNpIUY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBCAAGBQJXu1g8AAoJEMMJBoUcYcJzGXMIAJR4doffy+7SG4g/tH42wCLm CdnJUfurIUgMHRspstlmu6yCfSTmTNvIFp0L4Aklma/JI1vsqOAis3Dufrelm1Mn /WdNg86ToiUuMHe5a/fwlGMdpE98InF8zPh/rVEU4/xZvIajBvxZmC4+AZziTrzk VDJWhK1fRhN2ha1dWasrksEtECxmJuO7YlBqEoKHDsGb+2bb7ZYY5mLBxiqn3lXp 7Rx3PiimoaTUN1RWJyI7oVyKD38TCkRpccRAD3T9I80zpfzyntIJHLmB5mdwHDW0 S6FL5QixISgVkS7+pjys+i3o338EQOq0Ru8wkUXl9EoL1X1Uds3eUQuKUXgr5H4= =nk7w -----END PGP SIGNATURE----- --pgp+signed+eM5YAajI+YNpIUY--