Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fixing advanced sed script for privoxy [working solution]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ryszardzonk
Apprentice
Apprentice


Joined: 18 Dec 2003
Posts: 225
Location: Rzeszów, POLAND

PostPosted: Fri Apr 20, 2018 8:32 am    Post subject: Fixing advanced sed script for privoxy [working solution] Reply with quote

I have look for a way to improve regular filters in privoxy and found a script I would never guess could be so powerful.

https://gist.github.com/0x46616c6b/3585720

Hence the script was created 6 years ago author could have not foreseen changes in sed itself it no longer works for filter section giving out an error
Code:
"sed: character class syntax is [[:space:]], not [:space:]"


Error is coming somewhere from here *[:[^:]]*[^:] but all my tries to fix it even with help of https://regex101.com/ failed.

Please help fixing it as without is only user.action file get created, but not the user.filter

EDIT:
Looking for a solution I found out there is much better way to protect from tracking, logging and ad placement in privoxy and is under current development which is adblock2privoxy
_________________
Sky is not the limit...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum