Re: Bash scripting -- Usage of arrays

2005-11-30 Thread Jayesh Jayan
Hi Marco, Yes you are correct. It is as you have given :) Thank you. On 11/30/05, Marco Gigante [EMAIL PROTECTED] wrote: On Wed, Nov 30, 2005 at 02:39:15AM +0530, Jayesh Jayan wrote: Hi, Today I was trying to script using arrays in FreeBSD 5.4 but it doesn't work. Below

Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
guide me on how to use arrays on freebsd too. -- Jayesh Jayan The box said Requires Windows 95, NT, or better, so I installed Linux. Visit my homepage @ http://www.jayeshjayan.com ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
Hi John, I already have bash installed from ports. It is bash 2.05b. On 11/30/05, John-Mark Gurney [EMAIL PROTECTED] 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

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
Hi John, Thank you. It seems to work like a charm. On 11/30/05, John Baldwin [EMAIL PROTECTED] wrote: On Tuesday 29 November 2005 04:09 pm, Jayesh Jayan wrote: Hi, Today I was trying to script using arrays in FreeBSD 5.4 but it doesn't work. Below is a sample script which I used

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
Hi Freddie, Thank you. I have only installed bash2. I hope that may be one reason. Anyhow I have got the solution for other people in the list. Thank you once again. On 11/30/05, Freddie Cash [EMAIL PROTECTED] wrote: On November 29, 2005 01:09 pm, Jayesh Jayan wrote: Today I was trying

Re: Bash scripting -- Usage of arrays

2005-11-29 Thread Jayesh Jayan
Hi John, yes it works when executed with bash aa.sh. Thank you :) On 11/30/05, John-Mark Gurney [EMAIL PROTECTED] wrote: Jayesh Jayan wrote this message on Wed, Nov 30, 2005 at 03:19 +0530: I already have bash installed from ports. It is bash 2.05b. But below you were running sh

How to check if a processor in the machine is dead

2005-11-21 Thread Jayesh Jayan
Hi, I am having problem with my dell 2850 server. It has freebsd 5.4 installed. Today the machine is flashing amber light on the face plate.On checking I found that to be PROC Machine Chk which means cpu has failed. The server has dual Intel(R) Xeon(TM) CPU 3.00GHz. I searched and found a

Re: system password's file

2005-10-13 Thread Jayesh Jayan
Hi, I would suggest you to try the below and make sure this works 1 ) Install a new freebsd server 2 ) create a user on your linux machine say with username freebsd and some password 3 ) now copy the data in your /etc/passwd file of linux machine to freebsd machine 4 ) Also copy the /etc/shadow