csh

From: Joya M. Sharif <joya_at_mhd1.moorhead.msus.edu>
Date: 12 Mar 94 00:42:37 -0500
Message-ID: <1994Mar12.004237.9051_at_msus1.msus.edu>


hi everybody:

I am trying to write a shell script, but getting this error message, and don't know the what the problem is: will appreciate any help.

i=0
for FILE in `cat table.list'
do
row[i]=$FILE
i=`expr i + 1`
done

Error message I am getting is: row[i]=name1 not found Here name1 is the first row in table.list, and same continue for other rowsi.e., row[i]=name2 ..etc not found

please e-mail me directly or post it on net: joya_at_mhd1.moorhead.msus.edu Received on Sat Mar 12 1994 - 06:42:37 CET

Original text of this message