Bash scripting -- Usage of arrays

Jayesh Jayan jayesh.freebsdlist at gmail.com
Tue Nov 29 21:49:46 GMT 2005


Hi John,

I already have bash installed from ports. It is bash 2.05b.



On 11/30/05, John-Mark Gurney <gurney_j at resnet.uoregon.edu> wrote:
>
> 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."
>



--
Jayesh Jayan

"The box said "Requires Windows 95, NT, or better", so I installed Linux."

Visit my homepage @ http://www.jayeshjayan.com


More information about the freebsd-questions mailing list