Code:
sed -n l file1|head -5
,1790365,1,F,1,01,00,20121205,23305300,17.00,0000001700,03214534032,0\
3187170198,I,,0,,,N,I,20121207 001649,EDFN,,,0,I,STD,COMCE,BSC,COMBOG\
EG,TAND,27,0404,MOB-315,ENT,ENT-MOB,MM01,Telefonos de BSC,N,0,T_D,1,1\
.00,60.00,17.00,MINRED,1,COMCE,TO,PCO,0.000000,0.000000,MINUTO,1.00,1\
,0.000000,0.00,0.00,,0.00,\r$