Use grep -E as OpenBSD grep does not like | in regexp otherwise

This commit is contained in:
Sidharth Kshatriya 2021-12-14 15:19:31 +05:30
parent 02f9db616c
commit 7c8595c5ee
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
set-register a %{grep 'foo\|bar'}
set-register a %{grep -E 'foo|bar'}

View File

@ -1 +1 @@
%<a-s>H$grep 'foo\|bar'<ret>
%<a-s>H$grep -E 'foo|bar'<ret>