I2P Address: [http://git.idk.i2p]

Skip to content

maketorblocklist.sh fixups

kytv requested to merge kytv/i2p.i2p:maketor_script_fix into master
  • quote more variables
  • use a tempfile for the Tor exit list
  • use shell built-in where possible (command -v VS which)
  • redirect output to stderr
  • IP address specific sort
  • cleanup on exit using trap
  • set -eu to abort on error or empty variable
  • use redirect with wc to avoid outputting the filename

Merge request reports

Loading