[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] selecionar substring
From: |
Vanderlei |
Subject: |
Re: [shell-script] selecionar substring |
Date: |
Tue, 3 Oct 2006 11:05:35 +0000 (GMT) |
Bom dia,
$~>echo "PING teste.com (69.36.226.134): 56 data bytes" | sed -e
's/\(.*(\|).*\)//g'
69.36.226.134
Vanderlei
Celso Viana <address@hidden> escreveu: All,
Na linha abaixo, como é que pega somente o que está dentro dos
parenteses (endereço IP)?
PING teste.com (69.36.226.134): 56 data bytes
OBS.: O endereço IP pode ser variável...
--
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org
63 8404-8559
Palmas/TO
Vanderlei Alves de Souza
---------------------------------
O Yahoo! está de cara nova. Venha conferir!
[As partes desta mensagem que não continham texto foram removidas]
- Re: [shell-script] selecionar substring, (continued)
- Re: [shell-script] selecionar substring, Sergio Nery Simoes, 2006/10/02
- Re: [shell-script] selecionar substring, Julio C. Neves, 2006/10/03
- Re: [shell-script] selecionar substring, Sergio Nery Simoes, 2006/10/04
- Re: [shell-script] selecionar substring, Julio C. Neves, 2006/10/05
- Re: [shell-script] selecionar substring, Sergio Nery Simoes, 2006/10/06
Re: [shell-script] selecionar substring, Eric Anderson, 2006/10/03
Re: [shell-script] selecionar substring, Herbert Alexander Faleiros, 2006/10/02
Re: [shell-script] selecionar substring,
Vanderlei <=