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>

*** 14,24 **** function grep_test { name=$1 pattern=$2 ! if /usr/xpg4/bin/fgrep -q "${pattern}"; then print -u2 "pass: $name" else print -u2 "FAIL: $name" fi } --- 14,24 ---- function grep_test { name=$1 pattern=$2 ! if /usr/bin/fgrep -q "${pattern}"; then print -u2 "pass: $name" else print -u2 "FAIL: $name" fi }