Skip to content

Commit 1e291b1

Browse files
committed
replace obsolescent egrep by grep -E
1 parent f3acd42 commit 1e291b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/sage-grep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
cd "$SAGE_SRC"
44

5-
find sage -print | GREP_OPTIONS= egrep '.py([xdi])?$' | xargs grep "$@"
5+
find sage -print | GREP_OPTIONS= grep -E '.py([xdi])?$' | xargs grep "$@"

src/bin/sage-grepdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
cd "$SAGE_DOC"
44

5-
find html -print | GREP_OPTIONS= egrep '.html$' | xargs grep "$@"
5+
find html -print | GREP_OPTIONS= grep -E '.html$' | xargs grep "$@"

0 commit comments

Comments
 (0)