🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jim Meyering Fri, 02 Feb 1990 20:53
gawk exit "bug" -- a retraction
#1708
Author: Jim Meyering
Date: Fri, 02 Feb 1990 20:53
19 lines
1062 bytes
Regarding my recent "bug" report concerning gawk's exit command,
David C Lawrence (tale@turing.cs.rpi.edu) wrote to me:

>Your awk programme is buggy.  You have told it to exit 2 as soon as
>gets any input lines.  /dev/null didn't feed it any input lines so it
>doesn't hit that statement.

He's right.  I die of embarrassment.

Unfortunately, I hadn't read the manual carefully enough.
The gawk program that prompted the pared-down "bug report"
had a {} rule with actions including "exit 2," and the pattern

    END { exit 0 }

Now I realize what was happening.
Sorry for the false alarm.

Jim Meyering      meyering@cs.utexas.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads