Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Richard Stallman
Fri, 20 Jan 1989 00:36
[BEC.SHAPIN%ECLA@eclc.usc.edu: IBM PC AWK bug?]
Author: Richard Stallman
Date: Fri, 20 Jan 1989 00:36
Date: Fri, 20 Jan 1989 00:36
17 lines
1046 bytes
1046 bytes
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