mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-29 01:23:18 +00:00
Update comment
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
0ad2a79624
commit
f02162b021
1 changed files with 4 additions and 4 deletions
|
@ -698,10 +698,10 @@ gravity_ParseFileIntoDomains() {
|
||||||
# 2) Remove carriage returns
|
# 2) Remove carriage returns
|
||||||
# 3) Remove lines starting with ! (ABP Comments)
|
# 3) Remove lines starting with ! (ABP Comments)
|
||||||
# 4) Remove lines starting with [ (ABP Header)
|
# 4) Remove lines starting with [ (ABP Header)
|
||||||
# 5) Remove lines containing ABP extended CSS selectors ("##", "#!#", "#@#", "#?#") preceded by a letter
|
# 5) Remove lines containing ABP extended CSS selectors ("##", "#$#", "#@#", "#?#") and Adguard JavaScript (#%#) preceded by a letter
|
||||||
# 7) Remove comments (text starting with "#", include possible spaces before the hash sign)
|
# 6) Remove comments (text starting with "#", include possible spaces before the hash sign)
|
||||||
# 8) Remove leading tabs, spaces, etc. (Also removes leading IP addresses)
|
# 7) Remove leading tabs, spaces, etc. (Also removes leading IP addresses)
|
||||||
# 9) Remove empty lines
|
# 8) Remove empty lines
|
||||||
|
|
||||||
sed -i -r \
|
sed -i -r \
|
||||||
-e 's/\r$//' \
|
-e 's/\r$//' \
|
||||||
|
|
Loading…
Reference in a new issue