mirror of
https://codeberg.org/oliphant/blocklists.git
synced 2025-06-06 17:38:48 +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"
|
headerrow="#domain,#severity,#reject_media,#reject_reports,#public_comment,#obfuscate"
|
||||||
for file in *; do
|
for file in *; do
|
||||||
sed -i "1s/.*/$headerrow/" $file
|
sed -i "1s/.*/$headerrow/" $file
|
||||||
|
# replace bad line terminators
|
||||||
|
sed -i "s/\r//g" $file
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Pull complete."
|
echo "Pull complete."
|
||||||
|
|
Loading…
Reference in a new issue