xref: /illumos-gate/usr/src/test/util-tests/tests/awk/gnu/arrayprm3.awk (revision 528737823843346cf95a4a701612f82089135554)
1# From spcecdt@armory.com  Fri May  2 13:24:46 2003
2# Return-Path: <spcecdt@armory.com>
3# Received: from localhost (skeeve [127.0.0.1])
4# 	by skeeve.com (8.12.5/8.12.5) with ESMTP id h42AChum021950
5# 	for <arnold@localhost>; Fri, 2 May 2003 13:24:46 +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); Fri, 02 May 2003 13:24:46 +0300 (IDT)
9# Received: by actcom.co.il (mbox arobbins)
10#  (with Cubic Circle's cucipop (v1.31 1998/05/13) Fri May  2 13:23:37 2003)
11# X-From_: spcecdt@armory.com Fri May  2 00:43:51 2003
12# Received: from smtp1.actcom.net.il by actcom.co.il  with ESMTP
13# 	(8.11.6/actcom-0.2) id h41Lhm500217 for <arobbins@actcom.co.il>;
14# 	Fri, 2 May 2003 00:43:49 +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 h41LiGcO022817
18# 	for <arobbins@actcom.co.il>; Fri, 2 May 2003 00:44:18 +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 h41Lhj106516
21# 	for <arnold@skeeve.com>; Thu, 1 May 2003 17:43:46 -0400
22# Date: Thu, 1 May 2003 14:43:45 -0700
23# From: "John H. DuBois III" <spcecdt@armory.com>
24# To: Aharon Robbins <arnold@skeeve.com>
25# Subject: Re: gawk 3.1.2a bug
26# Message-ID: <20030501214345.GA24615@armory.com>
27# References: <200305011738.h41Hcg76017565@localhost.localdomain>
28# Mime-Version: 1.0
29# Content-Type: text/plain; charset=us-ascii
30# Content-Disposition: inline
31# In-Reply-To: <200305011738.h41Hcg76017565@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# On Thu, May 01, 2003 at 08:38:42PM +0300, Aharon Robbins wrote:
40# > > That worked, thanks.
41# >
42# > Great.  Your report motivated me to find everywhere such additional
43# > code ought to be needed.  I think I did so.  --Arnold
44#
45# Here's another one (perhaps fixed by your additional work):
46#
47BEGIN { foo(a) }
48function foo(a) { bar(a); print "" in a }
49function bar(a) { a[""]; }
50#
51# Prints 1 with gawk-3.1.1; 0 with 3.1.2a.
52#
53# 	John
54# --
55# John DuBois  spcecdt@armory.com  KC6QKZ/AE  http://www.armory.com/~spcecdt/
56#
57