Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/09/2007, 21:23
Avatar de ociomax
ociomax
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Temuco, Chile
Mensajes: 5.595
Antigüedad: 22 años
Puntos: 35
Re: Una de sed: Extraer IPs de un archivo log

¿La IP siempre va a estar como tercer elemento de la línea? SI es así, podrías usar awk:
Código:
awk -F' ' '{print $3}' logfile
__________________
Christian González, "OCIOMax"
http://chgonzalez.blogspot.com
http://twitter.com/chgonzalez