xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/rstest5.awk (revision e6d6c189fa3a95d7aa27bbe0aeacf7c1a6b57c8c)
1# From spcecdt@armory.com  Tue May  6 13:42:34 2003
2# Return-Path: <spcecdt@armory.com>
3# Received: from localhost (aahz [127.0.0.1])
4# 	by skeeve.com (8.12.5/8.12.5) with ESMTP id h46AgG53003519
5# 	for <arnold@localhost>; Tue, 6 May 2003 13:42:34 +0300
6# Received: from actcom.co.il [192.114.47.1]
7# 	by localhost with POP3 (fetchmail-5.9.0)
8# 	for arnold@localhost (single-drop); Tue, 06 May 2003 13:42:34 +0300 (IDT)
9# Received: by actcom.co.il (mbox arobbins)
10#  (with Cubic Circle's cucipop (v1.31 1998/05/13) Tue May  6 13:48:46 2003)
11# X-From_: spcecdt@armory.com Tue May  6 13:26:09 2003
12# Received: from smtp1.actcom.net.il by actcom.co.il  with ESMTP
13# 	(8.11.6/actcom-0.2) id h46AQ6520133 for <arobbins@actcom.co.il>;
14# 	Tue, 6 May 2003 13:26:07 +0300 (EET DST)
15# 	(rfc931-sender: lmail.actcom.co.il [192.114.47.13])
16# Received: from f7.net (consort.superb.net [209.61.216.22])
17# 	by smtp1.actcom.net.il (8.12.8/8.12.8) with ESMTP id h46ARSfl010998
18# 	for <arobbins@actcom.co.il>; Tue, 6 May 2003 13:27:31 +0300
19# Received: from armory.com (deepthought.armory.com [192.122.209.42])
20# 	by f7.net (8.11.7/8.11.6) with SMTP id h46AQ1I18183
21# 	for <arnold@skeeve.com>; Tue, 6 May 2003 06:26:01 -0400
22# Date: Tue, 6 May 2003 03:25:59 -0700
23# From: "John H. DuBois III" <spcecdt@armory.com>
24# To: Aharon Robbins <arnold@skeeve.com>
25# Subject: Re: gawk 3.1.2b now available
26# Message-ID: <20030506102559.GA16105@armory.com>
27# References: <200305051157.h45Bv4XO003106@localhost.localdomain>
28# Mime-Version: 1.0
29# Content-Type: text/plain; charset=us-ascii
30# Content-Disposition: inline
31# In-Reply-To: <200305051157.h45Bv4XO003106@localhost.localdomain>
32# User-Agent: Mutt/1.3.28i
33# X-Www: http://www.armory.com./~spcecdt/
34# Sender: spcecdt@armory.com
35# X-SpamBouncer: 1.4 (10/07/01)
36# X-SBClass: OK
37# Status: RO
38#
39# The patch fixed the previous case, but here's another one - this prints
40# <null><control-S>:
41#
42# BEGIN {
43#     RS = ""
44#     "echo 'foo\n\nbaz'" | getline
45#     "echo 'foo\n\nbaz'" | getline
46#     "echo 'bar\n\nbaz'" | getline
47#     print x
48# }
49#
50# 	John
51# --
52# John DuBois  spcecdt@armory.com  KC6QKZ/AE  http://www.armory.com/~spcecdt/
53#
54BEGIN {
55    RS = ""
56    "echo 'foo\n\nbaz'" | getline ; print
57    "echo 'foo\n\nbaz'" | getline ; print
58    "echo 'bar\n\nbaz'" | getline ; print
59    printf "x = <%s>\n", x
60}
61