discrimination-filter - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- discrimination-filter (241B) --- 1 #!/bin/bash 2 3 discriminationdb="$HOME/bin/modules/discrimination/discrimination.csv" 4 5 cargs="$@" 6 7 tail -n +2 "${discriminationdb}" \ 8 | sed 's,.*;\(.*\);;\(.*\);,s|\1|\2|g;,g;' \ 9 | tr '\n' '\t' \ 10 | sed -f /dev/stdin <(printf "${cargs}\n") 11