Rick Matthews wrote:
> 
> Summary
> =======
> I recommend sgclean.pl as the tool to "clean" blacklist files.
> 
> Before running sgclean, manually remove
> no dots:
> 'grep -e '\.' domains > domains.new1'
> ends with a dot:
> 'grep -v -e '\.$' domains.new1 > domains.new2'
> invalid characters:
> 'grep -e '[^-a-zA-Z0-9\._]' domains.new2 > domains.new3'
> (and rename domains.new3 to domains)

There is an error in the commands listed above.  Here is the corrected
version:

# Before running sgclean, manually remove no dots:
grep -e '\.' domains > domains.new1

# ends with a dot:
grep -v -e '\.$' domains.new1 > domains.new2

# invalid characters:
grep -v -e '[^-a-zA-Z0-9\._]' domains.new2 > domains.new3

# and rename domains.new3 to domains

mv -f domains.new3 domains


I apologize for my error(s).

Reply via email to