3

Delimited File to 2D Array

view full story
linux-howto

http://www.unix.com – Hello, I need help in fetching data from a delimited file , into a 2D array. Sample Input File: "|" as delimiter Code: A|123|446pr; B|46|hello89 krp; C|78|ystp90 67; D|ga|456; Please be advised that ";" is the line separator (not "\n"). Could you please write an awk script to fetch this into a 2D array. Output: array[0,1]=123 Thank You ! (HowTos)