Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #9969

Re: GNU Awk - inplace editing

From Kaz Kylheku <643-408-1753@kylheku.com>
Newsgroups comp.lang.awk
Subject Re: GNU Awk - inplace editing
Date 2025-05-23 06:02 +0000
Organization A noiseless patient Spider
Message-ID <20250522224441.196@kylheku.com> (permalink)
References <100p11m$3uh3m$1@dont-email.me>

Show all headers | View raw


On 2025-05-23, Janis Papanagnou <janis_papanagnou+ng@hotmail.com> wrote:
> In GNU Awk I was looking for the in-place option (similar to sed -i).
> I thought there once was some _simple_ option usable from the command
> line. (Or am I misremembering?)

The the "-i inplace" thing was introduced in May 2013, by
the GNU Awk 4.1.0 release. So, almost exactly twelve years ago now.

The release notes do not mention that any existing inplace
mechanism was being replaced. It mensions only sed -i.

However, like you, I also seem to have same strange memory that there
had been some earlier inplace mechanism that was deprecated.
It might have been something very short-lived?

The manual has a Feature History, but that is unreliable;
since it doesn't mention the -i inplace feature either,

Btw, spotted something mildly funny in the gawk git:

commit cce5115e21db1702e0617afdca36633e7e2c9eae (tag: gawk-2.11.1)
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Jul 15 23:24:47 2010 +0300

    Move to gawk 2.11.1 as found on Walnut Creek CD-ROM.

commit 3697ec5ca140f686643d204a54181a5ddbf9a799 (tag: gawk-2.11)
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Jul 15 23:12:49 2010 +0300

    Moved to gawk 2.11.

-- 
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal
Mastodon: @Kazinator@mstdn.ca

Back to comp.lang.awk | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

GNU Awk - inplace editing Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-05-23 07:28 +0200
  Re: GNU Awk - inplace editing Kaz Kylheku <643-408-1753@kylheku.com> - 2025-05-23 06:02 +0000
  Re: GNU Awk - inplace editing gazelle@shell.xmission.com (Kenny McCormack) - 2025-05-23 08:22 +0000
    Re: GNU Awk - inplace editing Kaz Kylheku <643-408-1753@kylheku.com> - 2025-05-23 08:58 +0000
      Re: GNU Awk - inplace editing Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-05-23 16:08 +0200
  Re: GNU Awk - inplace editing mack@the-knife.org (Mack The Knife) - 2025-05-25 04:00 +0000
  Re: GNU Awk - inplace editing Ed Morton <mortonspam@gmail.com> - 2025-05-25 15:27 -0500
    Re: GNU Awk - inplace editing Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2025-05-26 02:11 +0200

csiph-web