Skip to content

Commit

Permalink
replace obsolescent egrep by grep -E
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Apr 25, 2023
1 parent f3acd42 commit 1e291b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/sage-grep
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

cd "$SAGE_SRC"

find sage -print | GREP_OPTIONS= egrep '.py([xdi])?$' | xargs grep "$@"
find sage -print | GREP_OPTIONS= grep -E '.py([xdi])?$' | xargs grep "$@"
2 changes: 1 addition & 1 deletion src/bin/sage-grepdoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

cd "$SAGE_DOC"

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

0 comments on commit 1e291b1

Please sign in to comment.