Gathering IP's from a complicated log
- by Harry
I have a question regarding the use of some more advanced grep, awk, sed. I have a log file, for a proprietary MTA, that contains IP's in a string, delimited by [redacted]^~x.x.x.x^[redacted]. So far all of my grepping, awking, and sedding hasn't gotten me very far.
This log file has 331520 lines in it. My goal was to simply grep out the ip's,…