mirror of
https://codeberg.org/oliphant/blocklists.git
synced 2024-09-09 05:08:34 +00:00
fixed mastodon file formats
This commit is contained in:
parent
57784f2bd2
commit
9abb7432bc
20 changed files with 10970 additions and 10968 deletions
|
@ -72,6 +72,8 @@ rm -f __allowlist.csv
|
|||
headerrow="#domain,#severity,#reject_media,#reject_reports,#public_comment,#obfuscate"
|
||||
for file in *; do
|
||||
sed -i "1s/.*/$headerrow/" $file
|
||||
# replace bad line terminators
|
||||
sed -i "s/\r//g" $file
|
||||
done
|
||||
|
||||
echo "Pull complete."
|
||||
|
|
Loading…
Reference in a new issue