We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
grep -E
1 parent c186472 commit de2d77eCopy full SHA for de2d77e
t/test-lib-functions.sh
@@ -867,7 +867,7 @@ test_path_exists () {
867
test_dir_is_empty () {
868
test "$#" -ne 1 && BUG "1 param"
869
test_path_is_dir "$1" &&
870
- if test -n "$(ls -a1 "$1" | egrep -v '^\.\.?$')"
+ if test -n "$(ls -a1 "$1" | grep -E -v '^\.\.?$')"
871
then
872
echo "Directory '$1' is not empty, it contains:"
873
ls -la "$1"
0 commit comments