summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgrep-ip3
1 files changed, 3 insertions, 0 deletions
diff --git a/grep-ip b/grep-ip
new file mode 100755
index 0000000..97fc83f
--- /dev/null
+++ b/grep-ip
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec grep -Eo "([0-9]{1,3}[\.]){3}[0-9]{1,3}" "$@"