Subject: bin/123: awk dumps core on empty command string
To: None <gnats-admin>
From: David Burren <davidb@eyrie.img.com.au>
List: netbsd-bugs
Date: 02/12/1994 04:05:02
>Number:         123
>Category:       bin
>Synopsis:       awk dumps core on empty command string
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 12 04:05:02 1994
>Originator:     David Burren
>Organization:
	img Consultants
>Release:
>Environment:
	NetBSD-current (29/01/94 copy)

System: NetBSD pandion.eyrie.img.com.au 0.9a PANDION#0 i386


>Description:
	"awk ''" coredumps.  This construct is used by code such as Larry
	Wall's Configure utility to check the existence of files.
	eg:
		awk '' `awk '{print $1}' MANIFEST` > /dev/null

>How-To-Repeat:

	pandion:~ 179% awk ''
	awk: cmd. line:1: fatal error: internal error
	IOT trap (core dumped)
	pandion:~ 180%

>Fix:
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------