forwarded 495374 j...@berkes.ca thanks On Sat, 16 Aug 2008 20:54:14 +0100 Mark Hobley <markhob...@yahoo.co.uk> wrote: > It would be useful to be able to use this tool for matching of IP > addresses within an arbitary text field. This would require the use of > a -o option to output only matched parts of a line. > > An example application of this is demonstrated as follows: > > echo 'qwer(023)7964min@liverpool12.8ero&roir123.28.49.59(t95)@torprp' | > grepcidr -o 0.0.0.0-255.255.255.255 > 123.28.49.59
grepcidr is actively maintained upstream; I have forwarded your request to Jem Berkes. > It may also be useful to be able to use 0.0.0.0/0 to represent any IP > address (or better still do this by default, and allow omission of the > IP address related arguments: 0.0.0.0/0 is supported by grepcidr 2.0, which has been uploaded to sid.
signature.asc
Description: OpenPGP digital signature