From: XhmikosR Date: Sat, 8 Apr 2023 11:40:14 +0000 (+0300) Subject: Remove unneeded trailing whitespaces X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d3d4124e7ef6bc131050ba7847a4af55329a3e38;p=stevenblack-hosts.git Remove unneeded trailing whitespaces --- diff --git a/.github/stale.yml b/.github/stale.yml index 70a67d884..219811182 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -13,7 +13,7 @@ staleLabel: wontfix # Comment to post when marking an issue as stale. Set to `false` to disable markComment: > This issue has been automatically marked as stale because it has not had - recent activity. It will be closed in 14 days if no further activity occurs. + recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. # Comment to post when closing a stale issue. Set to `false` to disable closeComment: > diff --git a/readme_template.md b/readme_template.md index b7f3631c3..0fa19cd5c 100644 --- a/readme_template.md +++ b/readme_template.md @@ -500,7 +500,7 @@ Open a Terminal and run with root privileges: ### macOS -As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/), +As described in [this article](https://osxdaily.com/2022/11/21/how-clear-dns-cache-macos-ventura-monterey/), open a Terminal and run: ```sh @@ -608,7 +608,7 @@ devices under a variety of operating systems. provides a tool to build block lists from local and remote lists in common formats. - [Control D](https://controld.com/free-dns) - offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist: + offers a public anycast network hosted mirror of the Unified (Adware + Malware) blocklist: - Legacy DNS: `76.76.2.35`, `76.76.10.35`, `2606:1a40::35`, `2606:1a40:1::35` - DNS-over-HTTPS/TLS/DOQ: `https://freedns.controld.com/x-stevenblack`, `x-stevenblack.freedns.controld.com` diff --git a/sourcestats.sh b/sourcestats.sh index b925fb595..59327d6f3 100644 --- a/sourcestats.sh +++ b/sourcestats.sh @@ -52,14 +52,12 @@ extensions/social/tiuxo IFS=' ' -for item in $lists -do +for item in $lists; do echo -n "" > $item/stats.out - for HASH_DATE in $(git log --reverse --format="%t,%as" -- $item) - do + for HASH_DATE in $(git log --reverse --format="%t,%as" -- $item); do # echo $item $HASH_DATE - IFS=" " + IFS=" " split=(${HASH_DATE//,/ }) git checkout ${split[0]} ${item}/hosts 1> /dev/null 2> /dev/null domains=$(rh -q -m $item/hosts) diff --git a/stats.sh b/stats.sh index 8e242d804..2053501fd 100755 --- a/stats.sh +++ b/stats.sh @@ -1,10 +1,12 @@ #!/usr/bin/env bash + echo \n "" > stats.out + for TAG_DATE in $(git tag --sort=creatordate --format='%(refname:short),%(creatordate:short)'); do - # echo "$TAG_DATE" - split=(${TAG_DATE//,/ }) - # echo ${split[0]} - git checkout tags/${split[0]} readmeData.json - entries=$(jq '.base.entries' readmeData.json) - echo ${split[1]},${entries} >> stats.out + # echo "$TAG_DATE" + split=(${TAG_DATE//,/ }) + # echo ${split[0]} + git checkout tags/${split[0]} readmeData.json + entries=$(jq '.base.entries' readmeData.json) + echo ${split[1]},${entries} >> stats.out done