We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
egrep
grep -E
1 parent c4117c6 commit b67b6a1Copy full SHA for b67b6a1
distrib/doinstall
@@ -30,7 +30,7 @@ EOF
30
if [ "$basedir" = "" ]; then
31
basedir="$default_dir"
32
fi
33
- if echo "$basedir" | egrep "^[/~]" >/dev/null; then
+ if echo "$basedir" | grep -E -e "^[/~]" >/dev/null; then
34
true
35
else
36
basedir=`pwd`/"$basedir"
@@ -103,7 +103,7 @@ install_binaries() {
103
104
for f in "$basedir/share/gnatstudio/plug-ins"/*.xml \
105
"$basedir/share/gnatstudio/plug-ins"/*.py; do
106
- egrep -e '(<documentation_file>|<gnat_examples>)' "$f" >/dev/null 2>&1
+ grep -E -e '(<documentation_file>|<gnat_examples>)' "$f" >/dev/null 2>&1
107
if [ $? -ne 0 ]; then
108
rm -f "$f"
109
0 commit comments