From e85bcc457ccaa3c17fed79396d27492dc7e496bd Mon Sep 17 00:00:00 2001 From: lookshe Date: Wed, 12 Jun 2019 22:02:50 +0200 Subject: replace CRLF with LF after downloading files --- retrieveAdBlocklists.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/retrieveAdBlocklists.sh b/retrieveAdBlocklists.sh index 38643c0..798c227 100755 --- a/retrieveAdBlocklists.sh +++ b/retrieveAdBlocklists.sh @@ -1,3 +1,4 @@ #!/bin/bash rm -rf adlists/* awk -F'|' '{system("wget -q -O adlists/" $1 " " $2)}' adfilelist.txt +perl -pi -e 's/\r\n/\n/g' adlists/* -- cgit v1.2.3