> 
> 
> 
> Uri> post the output line from that command. do not let your emailer mung it
> or word wrap it. show the part you want to extract out. there may be
> easier ways to get it with a regex and not with split.

I think you may be right. I would like to pull the numerics out from the id= 
section. 

Sample output:

#begin code output

HPING www.microsoft.com (en1 207.46.19.190): S set, 40 headers + 0 data bytes
len=46 ip=207.46.19.190 ttl=64 DF id=21409 sport=80 flags=SA seq=0 win=5840 
rtt=102.8 ms
 HPING www.microsoft.com (en1 207.46.19.190): S set, 40 headers + 0 data bytes
len=46 ip=207.46.19.190 ttl=64 DF id=21804 sport=80 flags=SA seq=0 win=5840 
rtt=1.5 ms
 HPING www.microsoft.com (en1 207.46.19.190): S set, 40 headers + 0 data bytes
len=46 ip=207.46.19.190 ttl=64 DF id=23882 sport=80 flags=SA seq=0 win=5840 
rtt=6.4 ms
 HPING www.microsoft.com (en1 207.46.19.190): S set, 40 headers + 0 data bytes
len=46 ip=207.46.19.190 ttl=64 DF id=19047 sport=80 flags=SA seq=0 win=5840 
rtt=1.7 ms
 HPING www.microsoft.com (en1 207.46.19.190): S set, 40 headers + 0 data bytes
len=46 ip=207.46.19.190 ttl=64 DF id=30842 sport=80 flags=SA seq=0 win=5840 
rtt=1.4 ms

# End code output

As seen above, what I am looking for is pulling the id= field

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to