🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1457

IBM-PC GAWK Bug?

#1457
From: 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?

-------

-------
Technical Details
Message-ID: <12463948821.23.BEC.SHAPIN@ECLA.USC.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!ECLA.USC.EDU!BEC.SHAPIN

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!uunet!tut.cis.ohio-state.edu!ECLA.USC.EDU!BEC.SHAPIN
From: BEC.SHAPIN@ECLA.USC.EDU (Ted Shapin)
Newsgroups: gnu.utils.bug
Subject: IBM-PC GAWK Bug?
Message-ID: <12463948821.23.BEC.SHAPIN@ECLA.USC.EDU>
Date: 20 Jan 89 04:35:44 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 33