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

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

Re: [shell-script] D�vida_com_sed_(talvez?)


From: Pablo Fernandes
Subject: Re: [shell-script] Dúvida_com_sed_(talvez?)
Date: Thu, 30 Oct 2003 17:21:38 -0300 (ART)

André, 
  acho que isso resolve :D

sed 's/[0-9]\{0,\}\([0-9]\{2\}\)$/\1/g' Teste.dat |
sort -u

Falow
Pablo Fernandes


 --- André_Luiz_Alves_da_Silva_Prates
<address@hidden> escreveu: >  
> Como faço para buscar apenas o últimos 2 caracteres
>  
> #Teste.dat
> 00000600536758500000000000000041
> 00000600536758500000000000000041
> 00000600677687000000000000000048
> 00000600677687000000000000000048
>  
> sem repetiçoes.

Yahoo! Mail - o melhor webmail do Brasil
http://mail.yahoo.com.br


reply via email to

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