@@ -329,12 +329,14 @@ echo "Imported $name"
329
329
name=" mineNu"
330
330
mkdir -p " ${git_dir} /data/$name /"
331
331
c https://hostsfile.mine.nu/hosts0.txt | awk ' /localhost/{next}; /^(#|$)/{ next }; { if ( $1 ~ /^[0-9]/ ) printf("%s\n",tolower($2)) | "sort -i | uniq -u -i " }' > " ${git_dir} /data/$name /domain.csv"
332
+ dos2unix -f -r -S " ${git_dir} /data/$name /domain.csv"
332
333
echo " Imported $name "
333
334
334
335
# HostsFileOrg
335
336
name=" HostsFileOrg"
336
337
mkdir -p " ${git_dir} /data/$name /"
337
338
c https://hostsfile.org/Downloads/hosts.txt | awk ' /localhost/{next}; /^(#|$)/{ next }; { if ( $1 ~ /^[0-9]/ ) printf("%s\n",tolower($2)) | "sort -i | uniq -u -i " }' > " ${git_dir} /data/$name /domain.csv"
339
+ dos2unix -f -r -S " ${git_dir} /data/$name /domain.csv"
338
340
echo " Imported $name "
339
341
340
342
# digitalside | This list is not public available
@@ -379,29 +381,13 @@ mkdir -p "${git_dir}/data/$name/"
379
381
c https://raw.githubusercontent.com/hoshsadiq/adblock-nocoin-list/master/hosts.txt | awk ' /localhost/{next}; /^(#|$)/{ next }; { if ( $1 ~ /^[0-9]/ ) printf("%s\n",tolower($2)) | "sort -i | uniq -u -i " }' > " ${git_dir} /data/$name /domain.csv"
380
382
echo " Imported $name "
381
383
382
- #
383
- name=" "
384
+ # BarbBlock
385
+ name=" BarbBlock "
384
386
mkdir -p " ${git_dir} /data/$name /"
385
- c | awk ' /localhost/{next}; /^(#|$)/{ next }; { if ( $1 ~ /^[0-9]/ ) printf("%s\n",tolower($2)) | "sort -i | uniq -u -i " }' > " ${git_dir} /data/$name /domain.csv"
387
+ c https://paulgb.github.io/BarbBlock/blacklists/domain-list.txt | awk ' /localhost/{next}; /^(#|$)/{ next }; { if ( $1 ~ /^[0-9]/ ) printf("%s\n",tolower($2)) | "sort -i | uniq -u -i " }' > " ${git_dir} /data/$name /domain.csv"
386
388
echo " Imported $name "
387
389
388
- #
389
- name=" "
390
- mkdir -p " ${git_dir} /data/$name /"
391
- c | awk ' /localhost/{next}; /^(#|$)/{ next }; { if ( $1 ~ /^[0-9]/ ) printf("%s\n",tolower($2)) | "sort -i | uniq -u -i " }' > " ${git_dir} /data/$name /domain.csv"
392
- echo " Imported $name "
393
390
394
- #
395
- name=" "
396
- mkdir -p " ${git_dir} /data/$name /"
397
- c | awk ' /localhost/{next}; /^(#|$)/{ next }; { if ( $1 ~ /^[0-9]/ ) printf("%s\n",tolower($2)) | "sort -i | uniq -u -i " }' > " ${git_dir} /data/$name /domain.csv"
398
- echo " Imported $name "
399
-
400
- #
401
- name=" "
402
- mkdir -p " ${git_dir} /data/$name /"
403
- c | awk ' /localhost/{next}; /^(#|$)/{ next }; { if ( $1 ~ /^[0-9]/ ) printf("%s\n",tolower($2)) | "sort -i | uniq -u -i " }' > " ${git_dir} /data/$name /domain.csv"
404
- echo " Imported $name "
405
391
echo " "
406
392
echo " "
407
393
echo " The script ${0} "
0 commit comments