to add new column for all reocrds in a file in KSH please
i want to add a new column at the end for all the reocrds in a
file
for ex:
file name is abc.wlg.x.y.z
records like
1,2,3,4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,u,8
2,3,4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,u,8,k
3,4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,u,8,k,l
4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,u,8,u,i,o
1,2,3,4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,i,u
i want to add xyz for all the records into file abc.wlg.x.y.z
and output like
1,2,3,4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,u,8,xyz
2,3,4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,u,8,k,xyz
3,4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,u,8,k,l,xyz
4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,u,8,u,i,o,xyz
1,2,3,4,5,6,8,y,u,8,1,2,3,4,5,6,8,y,i,u,xyz
Last edited by pulse2india; 11-06-2005 at 12:36 AM..