extracting an IPv4 address from text?
- Reply: Daniel Feenberg : "Re: extracting an IPv4 address from text?"
- Reply: Ralf Mardorf : "Re: extracting an IPv4 address from text?"
- Reply: Ralf Mardorf : "Re: extracting an IPv4 address from text?"
- Reply: Edgar Pettijohn : "Re: extracting an IPv4 address from text?"
- Reply: David Christensen : "Re: extracting an IPv4 address from text?"
- Reply: Byung-Hee HWANG : "Re: extracting an IPv4 address from text?"
- Reply: doug : "Re: extracting an IPv4 address from text?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Apr 2022 20:10:44 UTC
Hello: Let's suppose I want to parse a line from auth.log and extract the IP address (if any) to stdout. I'm assuming there is a robust way to do this using standard command-line tools ... but my brain is flailing on the exact method. Anyone have a example they'd be willing to share? Or is this a problem already solved? Hopefully, Robert Huff