<commit_before>#!/bin/bash

while true
do
	echo "Script stopped, starting again"
	ipfs log tail |
        jq -r 'if .Operation == "handleAddProvider" then .Tags.key else empty end' |
        sed '0~1000 s/$/\x00/g' |
        xargs -0 -I % bash -c "echo \"%\" | sort -u | xargs -L1 ipfs-search a"
done
<commit_msg>buffer less keys before adding<commit_after>#!/bin/bash

while true
do
	echo "Script stopped, starting again"
	ipfs log tail |
        jq -r 'if .Operation == "handleAddProvider" then .Tags.key else empty end' |
        sed '0~100 s/$/\x00/g' |
        xargs -0 -I % bash -c "echo \"%\" | sort -u | xargs -L1 ipfs-search a"
done

{'fraction_non_alphanumeric': 0.14641744548286603, 'fraction_numerical': 0.0264797507788162, 'mean_word_length': 2.4385026737967914, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7552647', 'n_tokens_mistral': 246, 'n_tokens_neox': 230, 'n_words': 80}