Groups | Search | Server Info | Login | Register


Groups > comp.lang.awk > #9784

Re: A feature I'd like to see in GAWK...

Path csiph.com!weretis.net!feeder9.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups comp.lang.awk
Subject Re: A feature I'd like to see in GAWK...
Date Wed, 17 Jul 2024 12:23:00 -0000 (UTC)
Organization The official candy of the new Millennium
Message-ID <v78d34$3iloe$2@news.xmission.com> (permalink)
References <v73pof$3gdp5$2@news.xmission.com> <v76jr4$tu3$1@nnrp.usenet.blueworldhosting.com>
Injection-Date Wed, 17 Jul 2024 12:23:00 -0000 (UTC)
Injection-Info news.xmission.com; posting-host="shell.xmission.com:166.70.8.4"; logging-data="3757838"; mail-complaints-to="abuse@xmission.com"
X-Newsreader trn 4.0-test77 (Sep 1, 2010)
Originator gazelle@shell.xmission.com (Kenny McCormack)
Xref csiph.com comp.lang.awk:9784

Show key headers only | View raw


In article <v76jr4$tu3$1@nnrp.usenet.blueworldhosting.com>,
Arti F. Idiot <addr@is.invalid> wrote:
>On 7/15/24 12:28 PM, Kenny McCormack wrote:
>> I think something like the above would be more in line with the sort of
>> things I'd like to see in GAWK.
>
>+1 ; great idea.

Well, I think so.  The idea is that you shouldn't have to give up the most
intrinsic part of AWK (the pattern/action paradigm) just because your input
isn't a named (i.e., on the command line) file.

I think of it as "rehabilitating getline".  Bringing it back into the fold,
rather than exiling it to the sidelines.

Note also that my "pipeline" extension only handles the case of a simple
process (either input or output - i.e., like AWK's "getline" and "print"
with "|" redirection).  It doesn't handle any of the other variations of
getline/print - such as the ones that interface with network sockets.  It
would be nice if a built-in approach did those things as well (and better
than my extension does).

-- 
The randomly chosen signature file that would have appeared here is more than 4
lines long.  As such, it violates one or more Usenet RFCs.  In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
	http://user.xmission.com/~gazelle/Sigs/FreeCollege

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


Thread

A feature I'd like to see in GAWK... gazelle@shell.xmission.com (Kenny McCormack) - 2024-07-15 18:28 +0000
  Re: A feature I'd like to see in GAWK... Mack The Knife <mack@the-knife.org> - 2024-07-16 14:29 +0000
    Which, as noted, is ugly and not AWK (Was: A feature I'd like to see in GAWK...) gazelle@shell.xmission.com (Kenny McCormack) - 2024-07-16 16:25 +0000
  Re: A feature I'd like to see in GAWK... Kaz Kylheku <643-408-1753@kylheku.com> - 2024-07-16 17:10 +0000
  Re: A feature I'd like to see in GAWK... "Arti F. Idiot" <addr@is.invalid> - 2024-07-16 14:05 -0600
    Re: A feature I'd like to see in GAWK... gazelle@shell.xmission.com (Kenny McCormack) - 2024-07-17 12:23 +0000
  Re: A feature I'd like to see in GAWK... Jeremy Brubaker <jbrubake.362@orionarts.invalid> - 2024-07-19 14:26 +0000

csiph-web