Mike Frysinger <[email protected]> writes:
> On 18 May 2016 22:25, [email protected] wrote:
>> awk doesn't have the -i option like sed and if editing file in place is
>> desired, additional steps are required. eawk uses tmp file to make it
>> look to the caller editing happens in place.
>
> what's your real use case ?  i've never once thought "man, i wish i could
> run an awk script and modify a file in place".  and i write awk most days.

The same "sed -i" is used. I have some configs to edit in place in
src_prepare(). It's easier with awk rather than sed.

-- Amadeusz Żołnowski

Attachment: signature.asc
Description: PGP signature

Reply via email to