Results 1 to 4 of 4
My Network id is xxx.xxx.xxx.xxx
I want just first three bytes with . also ( xxx.xxx.xxx. )
can u suggest me reg. expression for this. pls
waiting for reply...
- 06-18-2007 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 7
pls help
My Network id is xxx.xxx.xxx.xxx
I want just first three bytes with . also ( xxx.xxx.xxx. )
can u suggest me reg. expression for this. pls
waiting for reply
- 06-25-2007 #2
Can you be a bit more descriptive about what you are trying too achieve?
LINUX - "The other white meat.."
Registered Linux User #439112
- 06-26-2007 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 7
My script input is 192.168.23.0 (or any network address)
Output expected 192.168.23. (First three bytes only)
(I/P) 192.168.23.0 => script => 192.168.23. (O/P)
waiting for your eply
- 06-26-2007 #4
Add this to your script processing the raw IP entry:
Code:cut -d. -f-3
Can't tell an OS by it's GUI


Reply With Quote
