From owner-freebsd-questions Mon Feb 4 8:15:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.bcn.isoco.net (ldap.isoco.net [212.9.90.11]) by hub.freebsd.org (Postfix) with ESMTP id D9E9737B42F for ; Mon, 4 Feb 2002 08:15:54 -0800 (PST) Received: from fxn.bcn.isoco.net (fxn.bcn.isoco.net [172.16.1.50]) by smtp.bcn.isoco.net (Postfix) with SMTP id 43CB0CD2B7; Mon, 4 Feb 2002 17:15:53 +0100 (CET) Date: Mon, 4 Feb 2002 17:15:25 +0100 From: F.Xavier Noria To: setantae@submonkey.net Cc: freebsd-questions@freebsd.org Subject: Re: Stupid sh(1) question Message-Id: <20020204171525.7a78cdc9.fxn@isoco.com> In-Reply-To: <20020204154923.GA4312@rhadamanth> References: <20020204154923.GA4312@rhadamanth> X-Mailer: Sylpheed version 0.7.0 (GTK+ 1.2.10; i386--freebsd4.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 4 Feb 2002 15:49:23 +0000 Ceri wrote: : a) How to initialise an array in sh : : b) How to access an array in sh. According to O'Reilly's book about Bash sh(1) doesn't support arrays, so one has to use sh(1) idioms you probably know to emulate them. -- fxn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message