[geeks] Regular Expressions

Ryan mattyml at daemons.net
Thu Aug 8 10:27:19 CDT 2002


Howdy,

Does anyone happen to know why the following block
of code refuses to find multicast addresses?

netstat -rn | egrep \
'([2][2-3][4-9])\.([0-9]{3})\.([0-9]{3})\.([0-9]{3})'

The multicast range is 224.0.0.0 to 239.255.255.255. I can also see
multicast addresses in the netstat -rn output.

I look forward to any thoughts or suggestions,
Ryan



More information about the geeks mailing list