Debian Codegraph @

test/rstest5.awk

raw
1 # From [email protected] Tue May 6 13:42:34 2003
2 # Return-Path: <[email protected]>
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_: [email protected] 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 <[email protected]>;
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 <[email protected]>; 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 <[email protected]>; Tue, 6 May 2003 06:26:01 -0400
22 # Date: Tue, 6 May 2003 03:25:59 -0700
23 # From: "John H. DuBois III" <[email protected]>
24 # To: Aharon Robbins <[email protected]>
25 # Subject: Re: gawk 3.1.2b now available
26 # Message-ID: <[email protected]>
27 # References: <[email protected]>
28 # Mime-Version: 1.0
29 # Content-Type: text/plain; charset=us-ascii
30 # Content-Disposition: inline
31 # In-Reply-To: <[email protected]>
32 # User-Agent: Mutt/1.3.28i
33 # X-Www: http://www.armory.com./~spcecdt/
34 # Sender: [email protected]
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 [email protected] KC6QKZ/AE http://www.armory.com/~spcecdt/
53 #
54 BEGIN {
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 }