shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] ordenar file


From: Andrea VB
Subject: Re: [shell-script] ordenar file
Date: Wed, 4 Jul 2007 11:44:55 -0300

Creo que 'sed' te ayuda:

$ sed -i '/^Printing/d' file.txt
$ sed -i 's/ /\n/g' file.txt

On 7/4/07, miguel <address@hidden> 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


---------------------------------------------------------------------
Esta lista não admite a abordagem de outras liguagens de programação, como 
perl, C etc. Quem insistir em não seguir esta regra será moderado sem prévio 
aviso.
---------------------------------------------------------------------
Sair da lista: address@hidden
---------------------------------------------------------------------
Esta lista é moderada de acordo com o previsto em 
http://www.listas-discussao.cjb.net
---------------------------------------------------------------------
Servidor Newsgroup da lista: news.gmane.org
Grupo: gmane.org.user-groups.programming.shell.brazil


Links do Yahoo! Grupos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]