i want to create an array
the array elements are populated depending upon the number of entries present in a data file
The data file is created dynamically
how to achieve the same
thanks
i want to create an array
the array elements are populated depending upon the number of entries present in a data file
The data file is created dynamically
how to achieve the same
thanks
Which shell? Or awk, Perl? 1 line = 1 Element? Need some more info on how your array should look like ie. how the input file looks like. Array by indices or association... ?