Add Option to Minimise hosts File
authorAnkit Pati <redacted>
Fri, 16 Feb 2018 02:56:16 +0000 (08:26 +0530)
committerAnkit Pati <redacted>
Fri, 16 Feb 2018 18:52:25 +0000 (00:22 +0530)
commit01db3264597b44600adab73526720c080eee6970
tree4bbcba38e327ec8cdd9673188e06e712e6418cbc
parent04cbba965c3c79d1b6ad32ef10944e4609ac1deb
Add Option to Minimise hosts File

This option (--minimise, -m) differs from compress (--compress, -c) in
that it keeps each host on a different line, while still removing
unnecessary newlines and comments.

This is necessary because many implementations of URL blockers that rely
on hosts files do not conform to the standard which allows multiple
hosts on a single line.
updateHostsFile.py
git clone https://git.99rst.org/PROJECT