Skip to content

Commit

Permalink
Update host.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
FusionPlmH authored Feb 19, 2025
1 parent dba23c7 commit 9e139d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion host.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ merge_list "blocklist" "block"

# Generate final lite host list
echo "Merge Combine..."
sort -u block allow > host
sort -n block allow allow | uniq -u > tmp && mv tmp tmphost
sort -u tmphost > host
sed -i '/^$/d' host
sed -i s/[[:space:]]//g host
rm -f tmphost


# Create lists
Expand Down

0 comments on commit 9e139d4

Please sign in to comment.