mirror of
https://github.com/ethanaicode/Adobe-Block-Hosts-List.git
synced 2025-03-15 14:11:24 +00:00
12 lines
197 B
Bash
12 lines
197 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
TEMP_HOSTS="hosts.new.temp"
|
||
|
HOSTS="hosts"
|
||
|
NEW_HOSTS="hosts.new"
|
||
|
|
||
|
cp "$HOSTS" "$NEW_HOSTS"
|
||
|
|
||
|
grep -vxFf "$HOSTS" "$TEMP_HOSTS" >> "$NEW_HOSTS"
|
||
|
|
||
|
echo "Merged $TEMP_HOSTS into $NEW_HOSTS"
|