Writing essential stats to a log file

This commit is contained in:
robocopAlpha 2021-07-16 04:05:41 +03:00
parent 893cdc4523
commit 4f590e2934
4 changed files with 22 additions and 5 deletions

View file

@ -8,6 +8,4 @@ rg -FIN "whatsapp" "${WRK_DIR}/Mirrors/facebook_block.txt" | rg -FIN "facebook"
rm -f "${WRK_DIR}/Mirrors/facebook_block.txt"
sort -u "${WRK_DIR}/Mirrors/tmp.txt" | uniq > "${WRK_DIR}/facebook_block.txt"
rm -f "${WRK_DIR}/Mirrors/tmp.txt"
Line_Count=$(wc -l "${WRK_DIR}/facebook_block.txt")
echo -e "${Line_Count} domains"