hiya - I'm trying to make a regexp string to match the following IP range:

192.168.2.64/27

ie I want to match 192.168.2.64 through 192.168.2.95 inclusive, but 
do not want to match things like 192.168.2.60 or 192.168.2.99

I'm kinda close with:

grep "192\.168\.2\.[6-9][0-9]"

except it's basically matching 192.168.2.60 - 192.168.2.99 inclusive...

I really want to make the match with just one REGEXP - is this 
possible or am I being deluded?


TIA _ dan.

ps. thanks for all those who sent in stuff about my NetWare vs Linux 
conundrums... will be posting a follow-up on that after lunch...
-- 

        Nitro - 3D Visualisation, Graphics & Animation
                Ph (+61 2) 9810 5177 - Fx (+61 2) 9810 0199
                        http://www.nitro.com.au/



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to