BEC.SHAPIN%ECLA@ECLC.USC.EDU (Ted Shapin) (01/20/89)
# 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? -------