egrep -> grep -E

This commit is contained in:
Philipp Schmitt 2023-03-30 08:03:31 +02:00
parent 7b0fb4dd09
commit 8a4678baf2
No known key found for this signature in database
GPG key ID: DC439C47EACB17F9

View file

@ -124,7 +124,7 @@ za-readurl-preinit-handler() {
}
}
local -a list
list=(${(@f)"$(noglob command egrep -io "href=.?$cur_paturl" $tmpfile)"})
list=(${(@f)"$(noglob command grep -E -io "href=.?$cur_paturl" $tmpfile)"})
if ((sorts[index])); then
list=(${list[@]:#[^[:digit:]]##})
list=(${(On)list[@]})