summaryrefslogtreecommitdiffstats
path: root/grep-email
diff options
context:
space:
mode:
Diffstat (limited to 'grep-email')
-rwxr-xr-xgrep-email3
1 files changed, 3 insertions, 0 deletions
diff --git a/grep-email b/grep-email
new file mode 100755
index 0000000..c37eb92
--- /dev/null
+++ b/grep-email
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+exec grep -Eo "\b[^ ]*@[^ ]*\b" "$@"