1 |
On 20 May 2016 21:09, Amadeusz Żołnowski wrote: |
2 |
> Mike Frysinger <vapier@g.o> writes: |
3 |
> > On 18 May 2016 22:25, aidecoe@g.o wrote: |
4 |
> >> awk doesn't have the -i option like sed and if editing file in place is |
5 |
> >> desired, additional steps are required. eawk uses tmp file to make it |
6 |
> >> look to the caller editing happens in place. |
7 |
> > |
8 |
> > what's your real use case ? i've never once thought "man, i wish i could |
9 |
> > run an awk script and modify a file in place". and i write awk most days. |
10 |
> |
11 |
> The same "sed -i" is used. I have some configs to edit in place in |
12 |
> src_prepare(). It's easier with awk rather than sed. |
13 |
|
14 |
again, provide an example. one or two uncommon use cases doesn't justify |
15 |
being added to eutils. |
16 |
-mike |