Andrea , Tiago Moito obrigado agora si funciona. Abracos
Miguel --- Tiago Barcellos Peczenyj <[EMAIL PROTECTED]> escribió: > Podes tentar com grep usando expressões regulares > extendidas > > $ grep -oE '\b[0-9]\.[0-9]+\b' arquivo > 2.60407 > 2.59396 > 2.30881 > 1.58625 > 0.918403 > 0.615756 > 0.473296 > 0.471362 > 0.847646 > 1.48126 > 2.06835 > 2.27529 > > []´s Tiago > On 7/4/07, miguel <[EMAIL PROTECTED]> wrote: > > > > Ola: > > eu tengo um file: > > > > cat file.txt > > > > Printing Grid -- 12 Values -- Undef = -9.99e+33 > > 2.60407 2.59396 2.30881 1.58625 0.918403 0.615756 > > 0.473296 0.471362 > > 0.847646 1.48126 2.06835 2.27529 > > > > y quero ordenar asi: > > > > 2.60407 > > 2.59396 > > 2.30881 > > 1.58625 > > 0.918403 > > 0.615756 > > 0.473296 > > 0.471362 > > 0.847646 > > 1.48126 > > 2.06835 > > 2.27529 > > > > Aguiem puede ayudarme? > > > > > > ______________________________________________ > > LLama Gratis a cualquier PC del Mundo. > > Llamadas a fijos y móviles desde 1 céntimo por > minuto. > > http://es.voice.yahoo.com > > > > > > > > -- > Tiago B Peczenyj > Linux User #405772 > > http://peczenyj.blogspot.com/ > > > [As partes desta mensagem que não continham texto > foram removidas] > > ____________________________________________________________________________________ ¡Descubre una nueva forma de obtener respuestas a tus preguntas! Entra en Yahoo! Respuestas. http://es.answers.yahoo.com/info/welcome
