mirror of
https://github.com/zdharma-continuum/zinit-annex-readurl.git
synced 2026-09-10 07:16:16 -04:00
egrep -> grep -E
This commit is contained in:
parent
7b0fb4dd09
commit
8a4678baf2
|
|
@ -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[@]})
|
||||
|
|
|
|||
Loading…
Reference in a new issue