rafael_rss
(usa Ubuntu)
Enviado em 09/01/2012 - 22:24h
Essa é rápida. Estou tentando o comando
sed -e '/^$/d' result2.csv > result3.csv
mas não estou obtendo sucesso. Já tentei deletar em awk tb e nada. Tem essas linhas em branco que não saem nem a pau... any ideas?
O arquivo result2.csv completo está aqui pra quem quiser ver ->
http://www.megaupload.com/?d=B7S2Z57K
A estrutura dele é bem simples, do tipo:
2011-11-28,00:00:00,600,10.9535,0.238746,11.5654,9.62188,9.93085,0.467941,10.9548,8.05756,88.7777,1.23972,87.2523,2.63401,101.541,0.592331,102.546,100.356,22.0535,0.0259432,22.132,21.99,974.231,0.0315244,974.31,974.1,223.301,4.97386,236.05,195.56,201.997,9.74878,223.33,162.97,2.19621,0.000670348,2.1969,2.1927,0.541595,0.00757773,0.5786,0.5016,0.53229,0.0160722,0.592,0.4685,5.07703,0.0296165,5.1273,5.0178,3.10268,0.00129716,3.1066,3.0995,3.84231,0.000315244,3.8431,3.841,0.152983,0.0947379,0.45,0.02,12.8828,0.00392269,12.8861,12.8584,0
2011-11-28,00:10:00,600,10.659,0.380442,11.4833,9.3694,9.53563,0.54847,10.71,8.01724,90.115,2.0944,88.4019,2.94194,103.056,0.738037,104.772,101.93,22.0155,0.0524386,22.132,21.898,974.173,0.0356311,974.27,974.1,217.166,7.92585,234.34,190.3,193.763,11.4265,218.23,162.13,2.19568,0.000701053,2.1967,2.1929,0.549621,0.0127468,0.5914,0.4989,0.539174,0.0179306,0.5953,0.4869,5.15282,0.0369018,5.2386,5.0965,3.10078,0.00262193,3.1066,3.0949,3.84173,0.000356311,3.8427,3.841,0.119917,0.0698748,0.36,0.01,12.8796,0.00376927,12.8844,12.8575,0