[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Thanks - and another Bash script question
- Subject: [ale] Thanks - and another Bash script question
- From: bkruger at mindspring.com (Bob Kruger)
- Date: Thu, 15 May 2003 11:27:37 -0400 (GMT)
My thanks to all who assisted. I should have been more specific - I did have access to some of the basic Unix commands. The solutions provided were adequate.
I have one more question concerning arrays. I know that if I do the following:
cn=(This is a test)
then $cn[1] = "This" , $cn[2] = "is", etc...
And to see them I would "echo {$cn[1]}"
If I have a line with comma based delimiters, how would I read that into an array, e.g.
ct={This,is,a,test)
and have $ct[1] = "This" , $ct[2] = "is" , etc?
Again, thanks in advance for any help.
Regards - Bob Kruger
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale