<commit_before>#!/bin/sh

. $(dirname $0)/scaliendb-env.sh

CMD=$*

for shard_server in $SCALIENDB_SHARDSERVERS; do
        remote_cmd="cd scaliendb; $CMD"
        echo "$shard_server:$$ $remote_cmd"
        remote_cmd_redirect="$remote_cmd 2>&1 1>/dev/null"
        ssh $shard_server $remote_cmd_redirect 2>&1 1>/dev/null | sed s/^/$shard_server:\ / &
done

wait<commit_msg>Updated cluster-exec script.<commit_after>#!/bin/sh

. $(dirname $0)/scaliendb-env.sh

CMD=$*

for shard_server in $SCALIENDB_SHARDSERVERS; do
        remote_cmd="cd scaliendb; $CMD"
        echo "$shard_server:\$ $remote_cmd"
        remote_cmd_redirect="$remote_cmd 2>&1 1>/dev/null"
        ssh $shard_server $remote_cmd_redirect 2>&1 1>/dev/null | sed s/^/$shard_server:\ / &
done

wait
{'fraction_non_alphanumeric': 0.15163398692810456, 'fraction_numerical': 0.018300653594771243, 'mean_word_length': 3.6144578313253013, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '6575569', 'n_tokens_mistral': 311, 'n_tokens_neox': 296, 'n_words': 55}