Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Richard Ohnemus
Wed, 16 Dec 1992 23:30
Bug in gawk 2.14 patchlevel 0
Author: Richard Ohnemus
Date: Wed, 16 Dec 1992 23:30
Date: Wed, 16 Dec 1992 23:30
22 lines
1166 bytes
1166 bytes
gawk produces some rather interesting results when given the following:
BEGIN {
5a = 10;
print 5a
b = 6 + 5a
print b
c = (6) + (5a)
print c
}
This is definately bad awk code. (I would never write something like
this on purpose. A bug in another program that generates awk code
caused something similar to the above to be output.)
awk, mawk, and nawk all generate a syntax error when given the above
code.
--
Rick Ohnemus INTERNET: rick@IMD.Sterling.COM UUCP: uunet!sparky!rick
LAND: Sterling Software IMD, 1404 Ft. Crook Rd. South, Bellevue NE. 68005-2969
Phone: (402) 291-8300 FAX: (402) 291-4362
I never receive credit for anything I write! (I'm an Ohnemus. 8-)
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