Em tempo...

Microbiu eu fiz assim veja:

ander...@netbook:~$ grep "<lat>" arq.xml | cut -d "<" -f2 | cut -d ">" -f2
-3.1071923
-3.8199946
-2.3939083
-3.2212290
-1.9236220

Como o meu interesse é apenas o primeiro eu usei o head e ficou assim:

ander...@netbook:~$ grep "<lat>" arq.xml | cut -d "<" -f2 | cut -d ">" -f2 |
head -n 1
-3.1071923


-- 
# Anderson Duarte (Rizada) 
# http://rizada.org
+55 79 8804-4114
"Go away or I will replace you with a very small Shell Script"


[As partes desta mensagem que não continham texto foram removidas]

Responder a