From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] unix RC shell bug From: David Gordon Hogan MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-zdqiiappammaiqdtrmhfvayeqf" Message-Id: <20010901044312.8E05F19A18@mail.cse.psu.edu> Date: Sat, 1 Sep 2001 00:43:07 -0400 Topicbox-Message-UUID: e8351140-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-zdqiiappammaiqdtrmhfvayeqf Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit IIRC, there was a syntax change at some point, and the Unix rc uses the old syntax. Try $^t instead of $"t. rc ready. Type "sz file ..." to your modem program --upas-zdqiiappammaiqdtrmhfvayeqf Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Sat Sep 1 00:11:26 EDT 2001 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Sat Sep 1 00:11:19 EDT 2001 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.20.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id A3C1E19A18; Sat, 1 Sep 2001 00:11:05 -0400 (EDT) Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 27775199E4 for <9fans@cse.psu.edu>; Sat, 1 Sep 2001 00:10:30 -0400 (EDT) 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 From: Matt X-Mailer: The Bat! (v1.53d) X-Priority: 3 (Normal) Message-ID: <7126271516.20010901051116@proweb.co.uk> To: 9fans <9fans@cse.psu.edu> Cc: rc@hawkwind.utcs.utoronto.ca In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [9fans] unix RC shell bug Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: 9fans@cse.psu.edu X-Reply-To: Matt List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Sat, 1 Sep 2001 05:11:16 +0100 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 --upas-zdqiiappammaiqdtrmhfvayeqf--