@ -128,7 +128,7 @@ gravity_Collapse() {
|
|||||||
echo -ne " ${INFO} ${str}..."
|
echo -ne " ${INFO} ${str}..."
|
||||||
|
|
||||||
# Retrieve source URLs from $adListFile
|
# Retrieve source URLs from $adListFile
|
||||||
mapfile -t sources <<< $(
|
mapfile -t sources < <(
|
||||||
# Logic: Remove comments (#@;![)
|
# Logic: Remove comments (#@;![)
|
||||||
awk '!/^[#@;!\[]/ {
|
awk '!/^[#@;!\[]/ {
|
||||||
# Remove windows CR line endings
|
# Remove windows CR line endings
|
||||||
@ -139,7 +139,7 @@ gravity_Collapse() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Parse source domains from $sources
|
# Parse source domains from $sources
|
||||||
mapfile -t sourceDomains <<< $(
|
mapfile -t sourceDomains < <(
|
||||||
# Logic: Split by folder/port
|
# Logic: Split by folder/port
|
||||||
awk -F '[/:]' '{
|
awk -F '[/:]' '{
|
||||||
# Remove URL protocol & optional username:password@
|
# Remove URL protocol & optional username:password@
|
||||||
|
Reference in New Issue
Block a user