<commit_before>#!/bin/sh

if [ $# -le 1 ]
then
    echo "Usage: $0 [HOST] [COMMAND]"
    exit 1
fi

BASE=`dirname $0`
WHERE=$1
shift
WHAT=$*

cd $BASE/../
CMD="LPATH=`mktemp -t`;
mkdir \$LPATH;
cd \$LPATH;
tar zxf -;
export LD_LIBRARY_PATH=\$LPATH/external/z3/lib/;
$WHAT"
tar czfh - -X utils/package-exclude . | ssh $WHERE $CMD<commit_msg>bugfixes in remotely.sh<commit_after>#!/bin/bash

if [ $# -le 1 ]
then
    echo "Usage: $0 [HOST] [COMMAND]"
    exit 1
fi

BASE=`dirname $0`
WHERE=$1
shift
WHAT=$*

cd $BASE/../
CMD="LPATH=\`mktemp -d -t\` && \
cd \$LPATH && \
tar zxf - && \
$WHAT"
tar czfh - -X utils/package-exclude . | ssh $WHERE $CMD
{'fraction_non_alphanumeric': 0.2062015503875969, 'fraction_numerical': 0.017054263565891473, 'mean_word_length': 3.0628930817610063, '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': '5350479', 'n_tokens_mistral': 310, 'n_tokens_neox': 278, 'n_words': 74}