Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place
Date: Fri, 20 May 2016 03:08:20
Message-Id: 20160520030805.GV26300@vapier.lan
In Reply to: [gentoo-dev] [PATCH] eutils.eclass: Add awk wrapper - eawk - edit file in place by aidecoe@gentoo.org
1 On 18 May 2016 22:25, aidecoe@g.o wrote:
2 > awk doesn't have the -i option like sed and if editing file in place is
3 > desired, additional steps are required. eawk uses tmp file to make it
4 > look to the caller editing happens in place.
5
6 what's your real use case ? i've never once thought "man, i wish i could
7 run an awk script and modify a file in place". and i write awk most days.
8 -mike

Attachments

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

Replies