solved: Extracting values from array elements

2001-08-29 Thread Dean W. Paulson
I have solved my ealier question. Thanks to those who responded. the problem was: I have an input file which contains n rows with 3 items in each row: 1 2 3 a b c 4 5 6 The script output needs to take the items from each row and print them as: v1=1, v2=2, v3=3 v1=a, v2=b, v3=c v1=4, v2=5, v3=6

RE: solved: Extracting values from array elements

2001-08-29 Thread pconnolly
I have solved my earlier question. Thanks to those who responded. the problem was: I have an input file which contains n rows with 3 items in each row: 1 2 3 a b c 4 5 6 The script output needs to take the items from each row and print them as: v1=1, v2=2, v3=3 v1=a, v2=b, v3=c