Search Results

Search: Posts Made By: Scrutinizer
1,191
Posted By Scrutinizer
When I use that with the grep statement, I get: ...
When I use that with the grep statement, I get:
38.101.48.170
38.101.48.0-38.101.48.255
146.20.0.0-146.20.255.255
What do you get?
1,191
Posted By Scrutinizer
Can you provide examples of valid entries that...
Can you provide examples of valid entries that are removed?
1,191
Posted By Scrutinizer
Check if your grep has the -o option (what is...
Check if your grep has the -o option (what is your OS?). If so, you could try:
grep -Eo '([0-9]+\.){3}[0-9]+(-([0-9]+\.){3}[0-9]+)?' file
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 01:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy