diff options
| author | Stefan Kangas | 2021-11-10 16:30:50 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2021-11-10 16:30:50 +0100 |
| commit | 3aad70326db4b654c836be97f7b96bb71e10202a (patch) | |
| tree | 8d2b84f1c02468e529ecff95316691d390053673 /admin | |
| parent | 810fa21d26453f898de9747ece7205dfe6de9d08 (diff) | |
| download | emacs-3aad70326db4b654c836be97f7b96bb71e10202a.tar.gz emacs-3aad70326db4b654c836be97f7b96bb71e10202a.zip | |
Use "grep -E" instead of deprecated "egrep"
* admin/emake:
* test/lisp/so-long-tests/so-long-tests.el: Use "grep -E" instead of
deprecated "egrep".
Diffstat (limited to 'admin')
| -rwxr-xr-x | admin/emake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/emake b/admin/emake index 8c37c160555..2ff553289da 100755 --- a/admin/emake +++ b/admin/emake | |||
| @@ -13,7 +13,7 @@ cores=1 | |||
| 13 | 13 | ||
| 14 | # Determine the number of cores. | 14 | # Determine the number of cores. |
| 15 | if [ -f /proc/cpuinfo ]; then | 15 | if [ -f /proc/cpuinfo ]; then |
| 16 | cores=$(($(egrep "^physical id|^cpu cores" /proc/cpuinfo |\ | 16 | cores=$(($(grep -E "^physical id|^cpu cores" /proc/cpuinfo |\ |
| 17 | awk '{ print $4; }' |\ | 17 | awk '{ print $4; }' |\ |
| 18 | sed '$!N;s/\n/ /' |\ | 18 | sed '$!N;s/\n/ /' |\ |
| 19 | uniq |\ | 19 | uniq |\ |
| @@ -30,7 +30,7 @@ s#^Configured for # Configured for # | |||
| 30 | s#^./temacs.*# \\& # | 30 | s#^./temacs.*# \\& # |
| 31 | s#^make.*Error# \\& # | 31 | s#^make.*Error# \\& # |
| 32 | ' | \ | 32 | ' | \ |
| 33 | egrep --line-buffered -v "^make|\ | 33 | grep -E --line-buffered -v "^make|\ |
| 34 | ^Loading|\ | 34 | ^Loading|\ |
| 35 | SCRAPE|\ | 35 | SCRAPE|\ |
| 36 | INFO.*Scraping.*[.] ?\$|\ | 36 | INFO.*Scraping.*[.] ?\$|\ |
| @@ -93,4 +93,4 @@ done | |||
| 93 | # changed since last time. | 93 | # changed since last time. |
| 94 | make -j$cores check-maybe 2>&1 | \ | 94 | make -j$cores check-maybe 2>&1 | \ |
| 95 | sed -n '/contained unexpected results/,$p' | \ | 95 | sed -n '/contained unexpected results/,$p' | \ |
| 96 | egrep --line-buffered -v "^make" | 96 | grep -E --line-buffered -v "^make" |