From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2BCF6138262 for ; Thu, 19 May 2016 17:52:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20FA8E0879; Thu, 19 May 2016 17:51:54 +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 2D787E085D for ; Thu, 19 May 2016 17:51:53 +0000 (UTC) Received: from localhost (cpc92302-cmbg19-2-0-cust189.5-4.cable.virginm.net [82.1.208.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: aidecoe) by smtp.gentoo.org (Postfix) with ESMTPSA id 60F17340D90; Thu, 19 May 2016 17:51:51 +0000 (UTC) From: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= To: Ulrich Mueller Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place In-Reply-To: <22333.35065.517761.668988@a1i15.kph.uni-mainz.de> References: <1463606702-16578-1-git-send-email-aidecoe@gentoo.org> <573CEC74.9000708@gentoo.org> <87d1ojx9j2.fsf@freja.aidecoe.name> <22333.35065.517761.668988@a1i15.kph.uni-mainz.de> User-Agent: Notmuch/0.22 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Thu, 19 May 2016 18:51:42 +0100 Message-ID: <878tz6x7f5.fsf@freja.aidecoe.name> 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="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Archives-Salt: c3403d82-4e9c-4d5c-9471-232be68d83d2 X-Archives-Hash: ebf1594442cdfe907c8911ccf8090f67 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ulrich Mueller writes: > The EAPI 6 method would be to use "|| die -n". Then the caller can > either call "eawk" if the function should die automatically, or > "nonfatal eawk" if it should return with an error status. Yes, that seems better. Hasn't it been introduced earlier than in EAPI 6? =2D-=20 Amadeusz =C5=BBo=C5=82nowski --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.1 iQJ8BAEBCgBmBQJXPf0vXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCMzcyRTFENjI5NUM1MzYwQTQwODQyRUZD QkNDODAyM0Y1OUUxNzA0AAoJEMvMgCP1nhcE/rUP/R+9TAE79DgdnGh9gjtsBaKd pWEauD+s4ktTQafGLDvuzSeWdMek7zqUc/NNd1NLxCEL7bR1uNPKqIPna5eDdPWr aG2dKgSPtDNcbUNhLAKzhRj0BeLNnK3RRFUGuWsZhovm22ugW3Fp5RGXAZ4t2ChO qOPJqMHkMUcCczunUPtaABtkuhn/P819Cm/n/MWtq1KROmDFI4G+Km30VGKSrGvV qQOo6ACslQcw4SlSnuiEHlqajZp6oxMwYqnjxuGfHZMecmANr4BwZ5ztVNtHkH0W GTaUG2m+hBHGEUwA7EarCurgYX7JESO2QuVt5Tswx3j7ARuuhTWlap1G1RVOaRTB z9zBJVci4JADcxwQWkjAuqOzGkrKQ8dlegbGpLaTxvO68u8tGos9udaJLl5pWaOC 8mtqfdjWC95RsI/w0o0VRH9VFV2MLWZhzBaYInOg0H2DiUpsnzNcgLa5GCDi0w7a 702Gb7VXsUfmCPKwGfq1/0DdNZphM/6Ck55gWfyMOWrEAiPI8/ZZ4lq5O2SESm8y z50Xz0VznhWRsKVvOm7EkhqdFNVxqqijj6Do58ofzE1V73XvNBcp5012fPgfSNZz sPuwAkpm6SnFsdxk/b8fnm38s4r1fc8c6L/iR6A+SHz6StSvLHUJirK7AEbWm6kV iqnLuh5AyyipLCQrHpEy =YaTg -----END PGP SIGNATURE----- --=-=-=--