Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2.fluke 9/24/84; site fluke.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!cornell!uw-beaver!ssc-vax!fluke!jeff
From: jeff@fluke.UUCP (Jeff Stearns)
Newsgroups: net.bugs.4bsd
Subject: awk doesn't wait for subordinate processes to complete
Message-ID: <1963@vax4.fluke.UUCP>
Date: Tue, 27-Nov-84 17:40:09 EST
Article-I.D.: vax4.1963
Posted: Tue Nov 27 17:40:09 1984
Date-Received: Thu, 29-Nov-84 06:20:41 EST
Organization: John Fluke Mfg. Co., Inc., Everett, WA
Lines: 37

Index:	 usr.bin/awk 4.2BSD

Description:
	If one redirects awk output through a filter, awk does not wait
	for the filter to terminate before awk itself terminates.  The
	output therefore appears asynchronously while subsequent commands
	are being processed.  In a shell script, this can be fatal if the
	filter is, for example, sort(1).

Repeat-By:
	% awk 'END { print "echo hi" | "sh" }'