update 2024-08-03 12:20:50

This commit is contained in:
kenzok8 2024-08-03 12:20:50 +08:00
parent 38167bf15e
commit 6f7f2da310
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ ref=$(for _p in $(find * -type f ! -path "$PKG_DIR/*"); do \
for _i in $ref; do
suburl=($(sed -E "s/(,|;)/\1\n/g" $_i | grep -E "\burl\([^\)]+\)" | grep -Ev "\burl\(\"data:image" | sed -En "s|^[^']+'([^']+)'.+|\1| p"))
hosturl=$(for _ in "${refurl[@]}"; do echo "$_" | grep "${_i##*/}"; done)
hosturl=$(for _ in "${refurl[@]}"; do grep "${_i##*/}" <<< "$_"; done)
for _j in $(seq 0 1 $[ ${#suburl[@]} -1 ]); do
url="${suburl[$_j]}"

View File

@ -68,7 +68,7 @@ ref=$(for _p in $(find * -type f); do \
for _i in $ref; do
suburl=($(sed -E "s/(,|;)/\1\n/g" $_i | grep -E "\burl\([^\)]+\)" | grep -Ev "\burl\(\"data:image" | sed -En "s|^[^']+'([^']+)'.+|\1| p"))
hosturl=$(for _ in "${refurl[@]}"; do echo "$_" | grep "${_i##*/}"; done)
hosturl=$(for _ in "${refurl[@]}"; do grep "${_i##*/}" <<< "$_"; done)
for _j in $(seq 0 1 $[ ${#suburl[@]} -1 ]); do
url="${suburl[$_j]}"