Search Results

Search: Posts Made By: AscaL
3,248
Posted By Scrutinizer
POSIX grep: grep -Eo '([0-9]+\.){3}[0-9]+'...
POSIX grep:
grep -Eo '([0-9]+\.){3}[0-9]+' infile
3,248
Posted By radoulov
It seems you have a GNU grep so if pcres are...
It seems you have a GNU grep so if pcres are available:

grep -Po '(\d+\.){3}\d+' infile
Showing results 1 to 2 of 2

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