Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2005 13:27:32 -0800
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Jayesh Jayan <jayesh.freebsdlist@gmail.com>
Cc:        freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Bash scripting -- Usage of arrays
Message-ID:  <20051129212732.GL885@funkthat.com>
In-Reply-To: <e8ecf3c00511291309yb9caeb9uebdf92c4ad7af4f8@mail.gmail.com>
References:  <e8ecf3c00511291309yb9caeb9uebdf92c4ad7af4f8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jayesh Jayan wrote this message on Wed, Nov 30, 2005 at 02:39 +0530:
> Below is the output.
> 
> # sh array.sh

Install the bash port (as root: pkg_add -r bas), and then try again
using bash...

FreeBSD doesn't have bash installed by default (and hence, /bin/sh is
not bash like it is usually on Linux), and our sh doesn't have that
feature...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051129212732.GL885>