BRE alternative (\|) is an GNU sed extension. [1] It isn't available in NetBSD sed.
[1] http://www.gnu.org/software/sed/manual/sed.html#Regular-Expressions regexp1\|regexp2 Matches either regexp1 or regexp2. Use parentheses to use complex alternative regular expressions. The matching process tries each alternative in turn, from left to right, and the first one that succeeds is used. It is a GNU extension. Signed-off-by: YAMAMOTO Takashi <yamam...@midokura.com> --- tests/vlog.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vlog.at b/tests/vlog.at index 00ebd92..48ef885 100644 --- a/tests/vlog.at +++ b/tests/vlog.at @@ -359,7 +359,7 @@ AT_CHECK([vlog_filt stderr], [0], [opened log file ]) AT_CHECK([APPCTL -t test-unixctl vlog/list | sed -n '1,2p -/\(test_unixctl\|daemon\) /p'], [0], [dnl +/test_unixctl /p; /daemon /p'], [0], [dnl console syslog file ------- ------ ------ daemon OFF INFO INFO @@ -373,7 +373,7 @@ AT_CHECK([APPCTL -t test-unixctl vlog/set nonexistent], [2], [], ovs-appctl: test-unixctl: server returned an error ]) AT_CHECK([APPCTL -t test-unixctl vlog/list | sed -n '1,2p -/\(test_unixctl\|daemon\) /p'], [0], [dnl +/test_unixctl /p; /daemon /p'], [0], [dnl console syslog file ------- ------ ------ daemon OFF ERR DBG -- 2.5.4 (Apple Git-61) _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev