mirror of
https://github.com/kenzok8/small-package
synced 2025-01-08 11:17:34 +08:00
update 2024-08-03 12:20:50
This commit is contained in:
parent
38167bf15e
commit
6f7f2da310
@ -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]}"
|
||||
|
@ -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]}"
|
||||
|
Loading…
Reference in New Issue
Block a user