bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gawk version 3.1.0 will not print a ";"


From: Mandeep Chadha
Subject: gawk version 3.1.0 will not print a ";"
Date: Tue, 22 Jan 2002 17:23:57 -0600

The file "tmp" contains the following lines:

A
B
C
D

and when I run the command:

        gawk '{print "Input = "$_" ; "}' tmp

I get the following output:

Input = A
Input = B
Input = C
Input = D

while I expect the following output:

Input = A ;
Input = B ;
Input = C ;
Input = D ;

Running gawk --version produces the following output:

GNU Awk 3.1.0
Copyright (C) 1989, 1991-2001 Free Software Foundation.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

I am running this on a i686 machine that is running RedHat 7.2 (out of the box).

Thanks,

Mandeep Chadha

----------------------------------------
Mandeep Chadha
Cicada Semiconductor Corp.
811 Barton Springs Road, Suite 550
Austin, TX 78704
Ph:      (512) 327-3500 x111
E-mail:  address@hidden
URL:     http://www.cicada-semi.com
----------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]