summaryrefslogtreecommitdiffstats
path: root/source/a/grep/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/grep/scripts')
-rw-r--r--source/a/grep/scripts/egrep4
-rw-r--r--source/a/grep/scripts/fgrep4
2 files changed, 8 insertions, 0 deletions
diff --git a/source/a/grep/scripts/egrep b/source/a/grep/scripts/egrep
new file mode 100644
index 000000000..513835a72
--- /dev/null
+++ b/source/a/grep/scripts/egrep
@@ -0,0 +1,4 @@
+#!/bin/sh
+#cmd=${0##*/}
+#echo "$cmd: warning: $cmd is obsolescent; using grep -E" >&2
+exec grep -E "$@"
diff --git a/source/a/grep/scripts/fgrep b/source/a/grep/scripts/fgrep
new file mode 100644
index 000000000..e8c4df9a1
--- /dev/null
+++ b/source/a/grep/scripts/fgrep
@@ -0,0 +1,4 @@
+#!/bin/sh
+#cmd=${0##*/}
+#echo "$cmd: warning: $cmd is obsolescent; using grep -F" >&2
+exec grep -F "$@"