hi all
,
how to read the column and print the values under that column ...??
file1 have something like this
cat file1
=======
column1, column2,date,column3,column4.....
1, 23 , 12/02/2008,......
2, 45, 14/05/2008,.....
3, 56, 16/03/2008,.....
cat file2
=======
column1,date,column3,column4.....
1,12/02/2008, 34,......
2,14/05/2008,56, .....
3,16/03/2008,78......
i need output like this
cat file1
=====
date
12/02/2008
14/05/2008
16/03/2008
cat file2
=====
date
12/02/2008
14/05/2008
16/03/2008
only date filed column values ...
pls help ...
thx in advance..