From: | Ulrich Mueller <ulm@g.o> | ||
---|---|---|---|
To: | 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 09:36:07 | ||
Message-Id: | 22333.35065.517761.668988@a1i15.kph.uni-mainz.de | ||
In Reply to: | Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place by "Amadeusz Żołnowski" |
1 | >>>>> On Wed, 18 May 2016, Amadeusz Żołnowski wrote: |
2 | |
3 | >> Also, wouldn't the absence of 'die' cause silent breakages? |
4 | |
5 | > I want to caller decide whether die or not and what error messge to |
6 | > give. |
7 | |
8 | The EAPI 6 method would be to use "|| die -n". Then the caller can |
9 | either call "eawk" if the function should die automatically, or |
10 | "nonfatal eawk" if it should return with an error status. |
11 | |
12 | Ulrich |
Subject | Author |
---|---|
Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place | "Amadeusz Żołnowski" <aidecoe@g.o> |