🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ted Shapin Fri, 20 Jan 1989 04:35
IBM-PC GAWK Bug?
#1457
Author: Ted Shapin
Date: Fri, 20 Jan 1989 04:35
33 lines
1732 bytes
Return-Path: <@ECLC:tower@wheaties.ai.mit.edu>
Received: from ECLC by ECLA with DECnet; Thu 19 Jan 89 15:33:16-PST
Received: from [128.52.38.47.] (for wheat-chex.ai.mit.edu) by ECLC.USC.EDU; Thu 19 Jan 89 15:30:53-PST
Received: by wheat-chex.ai.mit.edu; Thu, 19 Jan 89 18:28:11 EST
Date: Thu, 19 Jan 89 18:28:11 EST
From: tower@wheaties.ai.mit.edu (Leonard H. Tower Jr.)
Message-Id: <8901192328.AA28455@wheat-chex.ai.mit.edu>
To: BEC.SHAPIN%ECLA@eclc.usc.edu
In-Reply-To: Ted Shapin's message of Thu 19 Jan 89 13:06:44-PST <12463867081.27.BEC.SHAPIN@ECLA.USC.EDU>
Subject: IBM PC AWK bug?

please forward this to bug-gnu-utils@prep.ai.mit.edu, which is the
right place for gawk bug reports.

Return-Path: <BEC.SHAPIN%ECLA.#DECnet@eclc.usc.edu>
Date: Thu 19 Jan 89 13:06:44-PST
From: Ted Shapin <BEC.SHAPIN%ECLA@eclc.usc.edu>
Subject: IBM PC AWK bug?
To: info-gnu-emacs@prep.ai.mit.edu
Phone: (714)961-3393; Mail:Beckman Instruments, Inc.
Mail-Addr: 2500 Harbor Blvd., X-11, Fullerton CA 92634

# The version of GAWK for the IBM-PC that was created by
# Andy Estes and Steve Liberty has a bug in gsub(). 
# It doesn't return the correct number of substitions made
# The following program prints "1" instead of "2"
{print gsub(/;/,"")}
# when reading the input record:  asdf ; zxcv ;
# Does anyone have a fix?

-------

-------
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