Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-14-2008, 12:13 AM   #1
LQ Newbie
Registered: Jul 2008
Posts: 11

Rep: Reputation: 0
Simulation of two dimensional array in bash

I want to read (from keyboard),multiply/add and print two matrices. I know that in bash script only one dimensional array is supported. What is the syntax using which I can simulate the given task?
Old 07-14-2008, 12:15 AM   #2
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 62
Plenty of array discussions here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Two dimensional array som_kurian Programming 2 01-01-2008 03:27 AM
allocation of four dimensional array memory ahm_irf Programming 4 09-30-2007 03:58 AM
two dimensional array sorting in C/C++ George2 Programming 10 11-19-2006 08:29 PM
Bash 2 dimensional array ldp Linux - General 5 07-29-2005 11:29 AM
3 dimensional array help leeach Programming 11 06-15-2005 10:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration