github.com/benhoyt/goawk@v1.8.1/testdata/gawk/rstest3.awk (about)

     1  # From spcecdt@armory.com  Tue Apr 15 17:35:01 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 h3FEYA6o001541
     5  # 	for <arnold@localhost>; Tue, 15 Apr 2003 17:35:01 +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, 15 Apr 2003 17:35:01 +0300 (IDT)
     9  # Received: by actcom.co.il (mbox arobbins)
    10  #  (with Cubic Circle's cucipop (v1.31 1998/05/13) Tue Apr 15 17:38:46 2003)
    11  # X-From_: spcecdt@armory.com Tue Apr 15 11:09:12 2003
    12  # Received: from smtp1.actcom.net.il by actcom.co.il  with ESMTP
    13  # 	(8.11.6/actcom-0.2) id h3F88uC19825 for <arobbins@actcom.co.il>;
    14  # 	Tue, 15 Apr 2003 11:09:04 +0300 (EET DST)  
    15  # 	(rfc931-sender: smtp.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 h3F8CgQ7019081
    18  # 	for <arobbins@actcom.co.il>; Tue, 15 Apr 2003 11:12:47 +0300
    19  # Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164])
    20  # 	by f7.net (8.11.7/8.11.6) with ESMTP id h3F88oW23381
    21  # 	for <arnold@skeeve.com>; Tue, 15 Apr 2003 04:08:50 -0400
    22  # Received: from monty-python.gnu.org ([199.232.76.173])
    23  # 	by fencepost.gnu.org with esmtp (Exim 4.10)
    24  # 	id 195LUo-0001cv-00
    25  # 	for bug-gawk@gnu.org; Tue, 15 Apr 2003 04:08:50 -0400
    26  # Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
    27  # 	id 195LUh-0006n0-00
    28  # 	for bug-gawk@gnu.org; Tue, 15 Apr 2003 04:08:44 -0400
    29  # Received: from deepthought.armory.com ([192.122.209.42] helo=armory.com)
    30  # 	by monty-python.gnu.org with smtp (Exim 4.10.13)
    31  # 	id 195LUC-0006JM-00
    32  # 	for bug-gawk@gnu.org; Tue, 15 Apr 2003 04:08:13 -0400
    33  # Date: Tue, 15 Apr 2003 01:08:11 -0700
    34  # From: "John H. DuBois III" <spcecdt@armory.com>
    35  # To: bug-gawk@gnu.org
    36  # Subject: gawk 3.1.2 fatal bug
    37  # Message-ID: <20030415080811.GA14963@armory.com>
    38  # Mime-Version: 1.0
    39  # Content-Type: text/plain; charset=us-ascii
    40  # Content-Disposition: inline
    41  # User-Agent: Mutt/1.3.28i
    42  # X-Www: http://www.armory.com./~spcecdt/
    43  # Sender: spcecdt@armory.com
    44  # X-Spam-Status: No, hits=-7.9 required=5.0
    45  # 	tests=SIGNATURE_SHORT_DENSE,SPAM_PHRASE_01_02,USER_AGENT,
    46  # 	      USER_AGENT_MUTT
    47  # 	version=2.41
    48  # X-Spam-Level: 
    49  # X-SpamBouncer: 1.4 (10/07/01)
    50  # X-SBClass: OK
    51  # Status: RO
    52  # 
    53  # This program:
    54  # 
    55  #     BEGIN { RS = ""; "/bin/echo -n x" | getline }
    56  # 
    57  # fails in exactly the same way under SCO OpenServer 5.0.6a using gawk 3.1.2
    58  # built with gcc 2.95.3 and linux using gawk 3.1.2 built with gcc 3.2.2:
    59  # 
    60  # gawk: gawktest:1: fatal error: internal error
    61  # Abort
    62  # 
    63  # The same program does not fail with gawk 3.1.1.
    64  # 
    65  # 	John
    66  # -- 
    67  # John DuBois  spcecdt@armory.com  KC6QKZ/AE  http://www.armory.com/~spcecdt/
    68  # 
    69  # 
    70  BEGIN {
    71  	RS = ""
    72  	"echo x | tr -d '\\12'" | getline
    73  }