Subject: Re: text processing tool
To: Perry E. Metzger <perry@piermont.com>
From: Antti Kantee <pooka@cs.hut.fi>
List: netbsd-help
Date: 03/12/2003 21:04:16
On Wed Mar 12 2003 at 10:24:02 -0500, Perry E. Metzger wrote:
> and then printing it out in the other order. Awk only has 1D arrays I
> believe. 

Not true:

brain-damage:6:~> echo 'a b'|awk '{a[1,1]=$1;a[1,2]=$2}END{print a[1,1],a[1,2]}'
a b

-- 
Antti Kantee <pooka@iki.fi>                     Of course he runs NetBSD
http://www.iki.fi/pooka/                          http://www.NetBSD.org/
                 "connoisseurs do not chill their malts."