Package: grepcidr
Version: 1.3-4
Severity: wishlist

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)[EMAIL PROTECTED]&roir123.28.49.59(t95)@torprp' | 
grepcidr -o 0.0.0.0-255.255.255.255
123.28.49.59

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:

echo 'qwer(023)[EMAIL PROTECTED]&roir123.28.49.59(t95)@torprp' | 
grepcidr -o
123.28.49.59

Mark.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grepcidr depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries

grepcidr recommends no packages.

grepcidr suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to