Blame test/rstest5.awk

Packit 575503
# From spcecdt@armory.com  Tue May  6 13:42:34 2003
Packit 575503
# Return-Path: <spcecdt@armory.com>
Packit 575503
# Received: from localhost (aahz [127.0.0.1])
Packit 575503
# 	by skeeve.com (8.12.5/8.12.5) with ESMTP id h46AgG53003519
Packit 575503
# 	for <arnold@localhost>; Tue, 6 May 2003 13:42:34 +0300
Packit 575503
# Received: from actcom.co.il [192.114.47.1]
Packit 575503
# 	by localhost with POP3 (fetchmail-5.9.0)
Packit 575503
# 	for arnold@localhost (single-drop); Tue, 06 May 2003 13:42:34 +0300 (IDT)
Packit 575503
# Received: by actcom.co.il (mbox arobbins)
Packit 575503
#  (with Cubic Circle's cucipop (v1.31 1998/05/13) Tue May  6 13:48:46 2003)
Packit 575503
# X-From_: spcecdt@armory.com Tue May  6 13:26:09 2003
Packit 575503
# Received: from smtp1.actcom.net.il by actcom.co.il  with ESMTP
Packit 575503
# 	(8.11.6/actcom-0.2) id h46AQ6520133 for <arobbins@actcom.co.il>;
Packit 575503
# 	Tue, 6 May 2003 13:26:07 +0300 (EET DST)  
Packit 575503
# 	(rfc931-sender: lmail.actcom.co.il [192.114.47.13])
Packit 575503
# Received: from f7.net (consort.superb.net [209.61.216.22])
Packit 575503
# 	by smtp1.actcom.net.il (8.12.8/8.12.8) with ESMTP id h46ARSfl010998
Packit 575503
# 	for <arobbins@actcom.co.il>; Tue, 6 May 2003 13:27:31 +0300
Packit 575503
# Received: from armory.com (deepthought.armory.com [192.122.209.42])
Packit 575503
# 	by f7.net (8.11.7/8.11.6) with SMTP id h46AQ1I18183
Packit 575503
# 	for <arnold@skeeve.com>; Tue, 6 May 2003 06:26:01 -0400
Packit 575503
# Date: Tue, 6 May 2003 03:25:59 -0700
Packit 575503
# From: "John H. DuBois III" <spcecdt@armory.com>
Packit 575503
# To: Aharon Robbins <arnold@skeeve.com>
Packit 575503
# Subject: Re: gawk 3.1.2b now available
Packit 575503
# Message-ID: <20030506102559.GA16105@armory.com>
Packit 575503
# References: <200305051157.h45Bv4XO003106@localhost.localdomain>
Packit 575503
# Mime-Version: 1.0
Packit 575503
# Content-Type: text/plain; charset=us-ascii
Packit 575503
# Content-Disposition: inline
Packit 575503
# In-Reply-To: <200305051157.h45Bv4XO003106@localhost.localdomain>
Packit 575503
# User-Agent: Mutt/1.3.28i
Packit 575503
# X-Www: http://www.armory.com./~spcecdt/
Packit 575503
# Sender: spcecdt@armory.com
Packit 575503
# X-SpamBouncer: 1.4 (10/07/01)
Packit 575503
# X-SBClass: OK
Packit 575503
# Status: RO
Packit 575503
# 
Packit 575503
# The patch fixed the previous case, but here's another one - this prints
Packit 575503
# <null><control-S>:
Packit 575503
# 
Packit 575503
# BEGIN {
Packit 575503
#     RS = ""
Packit 575503
#     "echo 'foo\n\nbaz'" | getline
Packit 575503
#     "echo 'foo\n\nbaz'" | getline
Packit 575503
#     "echo 'bar\n\nbaz'" | getline
Packit 575503
#     print x
Packit 575503
# }
Packit 575503
# 
Packit 575503
# 	John
Packit 575503
# -- 
Packit 575503
# John DuBois  spcecdt@armory.com  KC6QKZ/AE  http://www.armory.com/~spcecdt/
Packit 575503
# 
Packit 575503
BEGIN {
Packit 575503
    RS = ""
Packit 575503
    "echo 'foo\n\nbaz'" | getline ; print
Packit 575503
    "echo 'foo\n\nbaz'" | getline ; print
Packit 575503
    "echo 'bar\n\nbaz'" | getline ; print
Packit 575503
    printf "x = <%s>\n", x
Packit 575503
}