Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!rutgers!ames!oliveb!sun!gorodish!guy
From: guy%gorodish@Sun.COM (Guy Harris)
Newsgroups: comp.bugs.4bsd
Subject: Re: "awk" drops core on many syntax errors
Message-ID: <11222@sun.uucp>
Date: Sat, 10-Jan-87 00:32:25 EST
Article-I.D.: sun.11222
Posted: Sat Jan 10 00:32:25 1987
Date-Received: Sat, 10-Jan-87 06:18:49 EST
References: <11220@sun.uucp>
Sender: news@sun.uucp
Lines: 36
Summary: Correction to the previous bug fix.

There was a slight error in the previous fix, due to the fact that the work
was done on the S5R2 "awk", and the fix wasn't properly retrofitted;
unfortunately, I couldn't convince "vnews" to cancel the original using NNTP.

Index:	bin/awk/awk.g.y 4.3BSD

Description:
	In a number of cases, "awk" will drop core when it encounters
	a syntax error.  If "awk"s standard error is redirected to a
	file, it may not even print the error messages.
Repeat-By:
	Run the following command:

		awk '{ ng[] = ; goop = 1; }'