Gentoo Archives: gentoo-dev

From: "Amadeusz Żołnowski" <aidecoe@g.o>
To: Mike Frysinger <vapier@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place
Date: Sat, 21 May 2016 16:08:57
Message-Id: 8737pb5r7b.fsf@freja.aidecoe.name
In Reply to: Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place by Mike Frysinger
1 Mike Frysinger <vapier@g.o> writes:
2 >> The same "sed -i" is used. I have some configs to edit in place in
3 >> src_prepare(). It's easier with awk rather than sed.
4 >
5 > again, provide an example. one or two uncommon use cases doesn't justify
6 > being added to eutils.
7
8 See rebar.eclass review where it is used. Later ejabberd ebuild I'm
9 going to add uses it as well. This function is too generic to be in
10 rebar.eclass, so I have decided to move it to eutils. What is the
11 problem with adding it to eutils?
12
13 -- Amadeusz Żołnowski

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies