i have a text file and want to store it in a appropriate data structure (2-d is preferable) . The contents are as follows.. plzzz suggest an appropriate way to store the contents by using shell scripting (bash shell)
No 2D arrays in shell but you can create an array of arrays.
Does your file have 4 columns ?
To know the best way to store the data, we'll have to know what kind of process you want to applicate to the data.