mirror of
https://github.com/v2fly/domain-list-community.git
synced 2024-11-16 17:14:52 +02:00
Fix awk command
This commit is contained in:
parent
d320c8e521
commit
dc46aa1b73
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
curl -L -o servers-source.xml "https://c.speedtest.net/speedtest-servers-static.php"
|
||||
cat servers-source.xml | sed -nEe 's/.+host="(.+):[0-9]+".+/\L\1/p' | sort -u > hosts-with-ip.txt
|
||||
sed -E '/^([0-9]{1,3}\.){3}[0-9]{1,3}$/d' hosts-with-ip.txt > hosts-without-ip.txt
|
||||
cat hosts-without-ip.txt | awk '{print "full:$0\n"}' > $GOPATH/src/$REPO_URL/data/ookla-speedtest
|
||||
cat hosts-without-ip.txt | awk '{printf "full:%s\n", $0}' > $GOPATH/src/$REPO_URL/data/ookla-speedtest
|
||||
echo "include:ookla-speedtest-ads" >> $GOPATH/src/$REPO_URL/data/ookla-speedtest
|
||||
|
||||
- name: Build geosite.dat file
|
||||
|
Loading…
Reference in New Issue
Block a user