3 lines
233 B
Bash
3 lines
233 B
Bash
|
#!/bin/bash
|
||
|
#generate a list of delete statements, based on pubkeys. raw text, one pubkey per line from source file.
|
||
|
while read -r line; do printf "delete FROM public.nostr_events WHERE pubkey='$line';\n" >> banlist.sql ; done < "$1"
|