From 4fc5dc0292acd77f17281f451774ba2ca4203026 Mon Sep 17 00:00:00 2001 From: Jun-ichi Takimoto Date: Thu, 15 Sep 2022 18:56:20 +0900 Subject: 50629: do not use egrep in tests --- Test/E01options.ztst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test/E01options.ztst') diff --git a/Test/E01options.ztst b/Test/E01options.ztst index 2acbfd357..d38fbed74 100644 --- a/Test/E01options.ztst +++ b/Test/E01options.ztst @@ -651,7 +651,7 @@ >noktarg1 >0 1 - showopt() { setopt | egrep 'localoptions|ksharrays'; } + showopt() { echo ${(FM)${(@f)"$(setopt)"}:#(localoptions|ksharrays)*} } f1() { setopt localoptions ksharrays; showopt } f2() { setopt ksharrays; showopt } setopt kshoptionprint -- cgit 1.4.1