[Top][All Lists]
[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
- Re: [bug-gawk] in-place edit request, (continued)
- Re: [bug-gawk] in-place edit request, j . eh, 2012/12/23
- Re: [bug-gawk] in-place edit request, Andrew J. Schorr, 2012/12/23
- Re: [bug-gawk] in-place edit request, Andrew J. Schorr, 2012/12/23
- Re: [bug-gawk] in-place edit request, Aharon Robbins, 2012/12/25
- Re: [bug-gawk] in-place edit request, Assaf Gordon, 2012/12/25
- Re: [bug-gawk] in-place edit request, Andrew J. Schorr, 2012/12/26
- Re: [bug-gawk] in-place edit request, Andrew J. Schorr, 2012/12/26
- Re: [bug-gawk] in-place edit request, Andrew J. Schorr, 2012/12/26
- Re: [bug-gawk] in-place edit request, Aharon Robbins, 2012/12/26
- Re: [bug-gawk] in-place edit request, Andrew J. Schorr, 2012/12/26
Re: [bug-gawk] in-place edit request,
Aharon Robbins <=