1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-15 03:51:51 +00:00

Remove threading

This commit is contained in:
Paul Curry 2020-11-10 14:13:39 +00:00 committed by suyuan
parent 4abe0ab8af
commit 6f4685b003

View file

@ -349,7 +349,7 @@ _bypass_proto() {
done
domainlist="$(echo $domainlist `# Get the list of valid domains, pass it to awk` \
| awk '{print tolower($0)}' `# awk lowercases the whole string and passes it to ` \
| xargs -n8 -P12 `# xargs sends 8 arguments at a time across 12 threads to` \
| xargs -n8 `# xargs sends 8 arguments at a time to` \
dig a +nocmd +noall +answer `# dig, which passes results (if any) to` \
| awk '{print $1}' `# awk, which outputs queried domain to` \
| sed -e 's/.$//' `# sed, which trims off the trailing dot (google.com. -> google.com)` \