[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug Report (gawk)
From: |
MURATA Yasuhisa |
Subject: |
Bug Report (gawk) |
Date: |
Tue, 6 Aug 2002 13:26:21 +0900 |
Hello, I report a bug.
== PROGRAM (filename: atest.awk) ==
BEGIN {
RS=""
}
NR==1 {
print 1
RS="\n"
next
}
NR==2 {
print 2
RS=""
next
}
NR==3 {
print 3
RS="\n"
next
}
====
== DATA (filename: atest.txt) ==
1111
2222
====
note: last line is "\n".
== RUN (gawk) ==
> gawk -f atest.awk atest.txt
1
2
(no stop!)
====
== RUN (nawk) ==
> nawk -f atest.awk atest.txt
1
2
3
====
== VERSION ==
> gawk --version
GNU Awk 3.1.1
Copyright (C) 1989, 1991-2002 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.
==
--
MURATA Yasuhisa, Technical Staff
National Institute for Physiological Sciences
E-mail: address@hidden
- Bug Report (gawk),
MURATA Yasuhisa <=