From: | "Amadeusz Żołnowski" <aidecoe@g.o> | ||
---|---|---|---|
To: | Ulrich Mueller <ulm@g.o> | ||
Cc: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place | ||
Date: | Thu, 19 May 2016 20:04:55 | ||
Message-Id: | 874m9tyfub.fsf@freja.aidecoe.name | ||
In Reply to: | Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place by Ulrich Mueller |
1 | Ulrich Mueller <ulm@g.o> writes: |
2 | > Yes, of course. "|| die -n || return" if you want the function to |
3 | > return at that point, if it was called under nonfatal. |
4 | > |
5 | >> https://blogs.gentoo.org/mgorny/2015/11/13/the-ultimate-guide-to-eapi-6 |
6 | > |
7 | > Note that the ${?} in the code example there is redundant. |
8 | |
9 | Why redundant? I imagine we can call it like: |
10 | |
11 | if ! nonfatal efoo; then |
12 | do_something_on_error |
13 | fi |
14 | |
15 | can't we? |
16 | |
17 | -- Amadeusz Żołnowski |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place | Ulrich Mueller <ulm@g.o> |