Print this page
8858 /usr/bin/grep doesn't support -E option
4580 /usr/bin/grep can't handle multibyte characters
8929 8868 tests are not delivered with system/test/utiltest
8860 Example in grep(1) is incorrect
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>

@@ -1413,11 +1413,11 @@
         if [ $DISP -eq 0 ] ; then
                 if [ $FORCE -eq 0 ] ; then
                         gettext "OK to destroy all zones [y|N]? "
                         read ans
                         printf "%s\n" "$ans" \
-                            | /usr/xpg4/bin/grep -Eq "$(locale yesexpr)"
+                            | /usr/bin/grep -Eq "$(locale yesexpr)"
                         if [ $? -ne 0 ] ; then
                                 gettext "canceled.\n"
                                 return 1
                         fi
                 fi