filters/all.sh

21 lines
402 B
Bash
Raw Normal View History

#!/bin/bash
cat > all.txt <<- EOF
[Adblock Plus 3.4]
! Title: Lynne's All-in-Bun Blocklist
! Description: A collection of all of my blocklists
! Expires: 1 days (update frequency)
! Homepage: https://git.bune.city/lynnesbian/filters
EOF
# comment to fix micro's syntax highlighting
for x in *.txt; do
echo "!#include $x" >> all.txt
done
sed -i 's/!#include all.txt//' all.txt
echo "" >> all.txt