1*e6d6c189SCody Peter Mello#From deep@cicada-semi.com Wed Jan 23 13:15:52 2002 2*e6d6c189SCody Peter Mello#X-From_: deep@cicada-semi.com Wed Jan 23 01:24:54 2002 3*e6d6c189SCody Peter Mello#From: "Mandeep Chadha" <deep@cicada-semi.com> 4*e6d6c189SCody Peter Mello#To: <bug-gawk@gnu.org> 5*e6d6c189SCody Peter Mello#Subject: gawk version 3.1.0 will not print a ";" 6*e6d6c189SCody Peter Mello#Date: Tue, 22 Jan 2002 17:23:57 -0600 7*e6d6c189SCody Peter Mello#Message-ID: <NCBBLGONGLINHCDGFCPNOENHCOAA.deep@cicada-semi.com> 8*e6d6c189SCody Peter Mello#MIME-Version: 1.0 9*e6d6c189SCody Peter Mello#Content-Type: text/plain; 10*e6d6c189SCody Peter Mello# charset="iso-8859-1" 11*e6d6c189SCody Peter Mello#Content-Transfer-Encoding: 7bit 12*e6d6c189SCody Peter Mello#X-Priority: 3 (Normal) 13*e6d6c189SCody Peter Mello#X-MSMail-Priority: Normal 14*e6d6c189SCody Peter Mello#X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) 15*e6d6c189SCody Peter Mello#Importance: Normal 16*e6d6c189SCody Peter Mello#X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 17*e6d6c189SCody Peter Mello# 18*e6d6c189SCody Peter Mello# 19*e6d6c189SCody Peter Mello#The file "tmp" contains the following lines: 20*e6d6c189SCody Peter Mello# 21*e6d6c189SCody Peter Mello#A 22*e6d6c189SCody Peter Mello#B 23*e6d6c189SCody Peter Mello#C 24*e6d6c189SCody Peter Mello#D 25*e6d6c189SCody Peter Mello# 26*e6d6c189SCody Peter Mello#and when I run the command: 27*e6d6c189SCody Peter Mello# 28*e6d6c189SCody Peter Mello# gawk '{print "Input = "$_" ; "}' tmp 29*e6d6c189SCody Peter Mello{print "Input = "$0" ; "} 30*e6d6c189SCody Peter Mello# 31*e6d6c189SCody Peter Mello#I get the following output: 32*e6d6c189SCody Peter Mello# 33*e6d6c189SCody Peter Mello#Input = A 34*e6d6c189SCody Peter Mello#Input = B 35*e6d6c189SCody Peter Mello#Input = C 36*e6d6c189SCody Peter Mello#Input = D 37*e6d6c189SCody Peter Mello# 38*e6d6c189SCody Peter Mello#while I expect the following output: 39*e6d6c189SCody Peter Mello# 40*e6d6c189SCody Peter Mello#Input = A ; 41*e6d6c189SCody Peter Mello#Input = B ; 42*e6d6c189SCody Peter Mello#Input = C ; 43*e6d6c189SCody Peter Mello#Input = D ; 44*e6d6c189SCody Peter Mello# 45*e6d6c189SCody Peter Mello#Running gawk --version produces the following output: 46*e6d6c189SCody Peter Mello# 47*e6d6c189SCody Peter Mello#GNU Awk 3.1.0 48*e6d6c189SCody Peter Mello#Copyright (C) 1989, 1991-2001 Free Software Foundation. 49*e6d6c189SCody Peter Mello# 50*e6d6c189SCody Peter Mello#This program is free software; you can redistribute it and/or modify 51*e6d6c189SCody Peter Mello#it under the terms of the GNU General Public License as published by 52*e6d6c189SCody Peter Mello#the Free Software Foundation; either version 2 of the License, or 53*e6d6c189SCody Peter Mello#(at your option) any later version. 54*e6d6c189SCody Peter Mello# 55*e6d6c189SCody Peter Mello#This program is distributed in the hope that it will be useful, 56*e6d6c189SCody Peter Mello#but WITHOUT ANY WARRANTY; without even the implied warranty of 57*e6d6c189SCody Peter Mello#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 58*e6d6c189SCody Peter Mello#GNU General Public License for more details. 59*e6d6c189SCody Peter Mello# 60*e6d6c189SCody Peter Mello#You should have received a copy of the GNU General Public License 61*e6d6c189SCody Peter Mello#along with this program; if not, write to the Free Software 62*e6d6c189SCody Peter Mello#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 63*e6d6c189SCody Peter Mello# 64*e6d6c189SCody Peter Mello#I am running this on a i686 machine that is running RedHat 7.2 (out of the box). 65*e6d6c189SCody Peter Mello# 66*e6d6c189SCody Peter Mello#Thanks, 67*e6d6c189SCody Peter Mello# 68*e6d6c189SCody Peter Mello#Mandeep Chadha 69*e6d6c189SCody Peter Mello# 70*e6d6c189SCody Peter Mello#---------------------------------------- 71*e6d6c189SCody Peter Mello#Mandeep Chadha 72*e6d6c189SCody Peter Mello#Cicada Semiconductor Corp. 73*e6d6c189SCody Peter Mello#811 Barton Springs Road, Suite 550 74*e6d6c189SCody Peter Mello#Austin, TX 78704 75*e6d6c189SCody Peter Mello#Ph: (512) 327-3500 x111 76*e6d6c189SCody Peter Mello#E-mail: deep@cicada-semi.com 77*e6d6c189SCody Peter Mello#URL: http://www.cicada-semi.com 78*e6d6c189SCody Peter Mello#---------------------------------------- 79