bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] in-place edit request


From: Aharon Robbins
Subject: Re: [bug-gawk] in-place edit request
Date: Sun, 23 Dec 2012 12:29:32 +0200
User-agent: Heirloom mailx 12.5 6/20/10

Hi Ed.

> Date: Thu, 20 Dec 2012 17:12:48 -0600
> From: Ed Morton <address@hidden>
> To: address@hidden
> Subject: [bug-gawk] in-place edit request
>
> Can we get an in-place edit function for gawk like
> sed, perl, ruby., etc. have with their "-i" option? It
> should behave like perl does. See the discussion at
> https://groups.google.com/forum/#!topic/comp.lang.awk/ORwDyRRBcHE.
>
> Regards,
>
>      Ed Morton

Thank you for your note.

Janis Papanagnou and Mauel Collado both raised a number of questions as
to how this would work and even if it's a good idea.

First, the proposal is not well defined. "Just do what perl does" isn't
good enough. Second, I don't think it's even a good idea. It would
complicate the code considerably, and I think that the general use case
can be solved using a shell script (as I wrote in comp.lang.awk).

Thanks,

Arnold



reply via email to

[Prev in Thread] Current Thread [Next in Thread]