Thursday 19 May 2016 23:08:05, Mike Frysinger wrote : > On 18 May 2016 22:25, aidecoe@gentoo.org 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. > -mike Same question. Why would you ever want to run awk and have it in-place edit a file? Have you ever heard about Perl? In place editing a file with it is as easy as ABC: $ perl -i'' -ne 's/foo/bar/g;' file.txt And you're done. If you don't fancy Perl, you could use Ruby with the exact same syntax and it works just as well. Then add either of these to DEPEND and you're set. Please walk us through why you actually want this function to be added cause I read this thread and your diff like 10 times and couldn't come up with a sensible reason which would justify this change. -- Patrice Clement Gentoo Linux developer http://www.gentoo.org