dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

commit 42a2e553275721fc03ff2dc3035c9147aa16576f
parent 21235d0d4d3ab234bcad03f5b5a7c6f97f034cbe
Author: Chris Noxz <chris@noxz.tech>
Date:   Thu, 29 Aug 2019 08:43:57 +0200

[bin] remove redundant code from gen-adblock

Diffstat:
Mbin/.bin/gen-adblock | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/bin/.bin/gen-adblock b/bin/.bin/gen-adblock @@ -25,11 +25,9 @@ do done cat $_TEMP_FILE \ -| sed $'s/\r$//' \ | sort \ | uniq \ -| sed '/^$/d' \ -| awk -v "IP=0.0.0.0" '{sub(/\r$/,""); print IP" "$0}' \ +| awk -v "IP=0.0.0.0" '{print IP" "$0}' \ | sudo tee $_HOSTS_FILE > /dev/null rm $_TEMP_FILE