#!/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: 3 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