Skip to content

Commit 5b639bb

Browse files
committed
fix egrep warnings
newer distros getting aggressive about this decprecation
1 parent 9d6357b commit 5b639bb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bootstrap/parse/run_pegparser.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414

1515
#!/bin/bash
16-
files=$(find ../.. -name '*.rn' | egrep -v 'escapeatend|syntaxError')
16+
files=$(find ../.. -name '*.rn' | grep -E -v 'escapeatend|syntaxError')
1717
./pegparser $files

runerrors.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515
#!/bin/bash
1616
for test in errortests/*.rn; do
17-
result=$(./runl "$test" | egrep "(Exiting due to error|Exception)")
17+
result=$(./runl "$test" | grep -E "(Exiting due to error|Exception)")
1818
if [[ "$result" != "" ]]; then
1919
echo "$test passed"
2020
else

runtests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ for test in errortests/*.rn; do
4949
executable=$(echo "$test" | sed 's/\.rn$//')
5050
result=$(./rune "$args" -x "$test" | grep "Exiting due to error")
5151
if [[ "$result" == "" ]]; then
52-
result=$("./$executable" | egrep "(Exception|Panic)")
52+
result=$("./$executable" | grep -E "(Exception|Panic)")
5353
fi
5454
if [[ "$result" != "" ]]; then
5555
echo "$test passed"

0 commit comments

Comments
 (0)