From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta03-svc.ntlworld.com ([62.253.162.43]) by hawkwind.utcs.utoronto.ca with SMTP id <50642>; Mon, 3 Sep 2001 00:24:31 -0500 Received: from freeze2k ([62.254.2.198]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010901041029.COPF23687.mta03-svc.ntlworld.com@freeze2k>; Sat, 1 Sep 2001 05:10:29 +0100 Date: Sat, 1 Sep 2001 00:11:16 -0500 From: Matt X-Mailer: The Bat! (v1.53d) Reply-To: Matt X-Priority: 3 (Normal) Message-ID: <7126271516.20010901051116@proweb.co.uk> To: 9fans <9fans@cse.psu.edu> CC: rc@hawkwind.utcs.utoronto.ca Subject: unix RC shell bug In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit after hours of not noticing one of my variables was a list and not a string (it's 5am I've been on this since 10pm!) I eventually got to this sorry state. in good ol' plan9 cpu% t=(1 2 3 6 7) cpu% echo $#t 5 cpu% echo $"t 1 2 3 6 7 in /usr/local/bin/rc (ver 1.6) on FreeBSD (ver 4.2-RELEASE) ; t=(1 2 3 6 7) ; echo $#t 5 ; echo $"t syntax error just fyi