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>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/tsol/misc/txzonemgr.sh
          +++ new/usr/src/cmd/tsol/misc/txzonemgr.sh
↓ open down ↓ 1407 lines elided ↑ open up ↑
1408 1408  
1409 1409  
1410 1410  }
1411 1411  
1412 1412  tearDownZones() {
1413 1413          if [ $DISP -eq 0 ] ; then
1414 1414                  if [ $FORCE -eq 0 ] ; then
1415 1415                          gettext "OK to destroy all zones [y|N]? "
1416 1416                          read ans
1417 1417                          printf "%s\n" "$ans" \
1418      -                            | /usr/xpg4/bin/grep -Eq "$(locale yesexpr)"
     1418 +                            | /usr/bin/grep -Eq "$(locale yesexpr)"
1419 1419                          if [ $? -ne 0 ] ; then
1420 1420                                  gettext "canceled.\n"
1421 1421                                  return 1
1422 1422                          fi
1423 1423                  fi
1424 1424                  gettext "destroying all zones ...\n"
1425 1425          else
1426 1426                  killall=$(zenity --question \
1427 1427                      --title="$title" \
1428 1428                      --width=330 \
↓ open down ↓ 463 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX