<commit_before>#!/bin/bash
set -o nounset
set -o errexit
mydir=$(dirname $0)

if [ $# -lt 1 ];
then
    echo "Pass a subcommand";
    exit 0;
fi

subcmd=$1
shift;

if test -e $mydir/location/command/$subcmd;
then
    $mydir/location/command/$subcmd $*;
else
    $mydir/command/$subcmd $*;
fi<commit_msg>add session support: ./game.sh -s<commit_after>#!/bin/bash
set -o nounset
set -o errexit
mydir=$(dirname $0)
if [ $# -lt 1 ];
then
    echo "Pass a subcommand";
    exit 0;
fi

if [[ $1 = -s ]];
then
    xargs -n 1 -d '\n' -I % sh -c "$0 %"
fi


subcmd=$1
shift;

if test -e $mydir/location/command/$subcmd;
then
    $mydir/location/command/$subcmd $*;
else
    $mydir/command/$subcmd $*;
fi
{'fraction_non_alphanumeric': 0.17723342939481268, 'fraction_numerical': 0.01585014409221902, 'mean_word_length': 2.9714285714285715, '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': '2682131', 'n_tokens_mistral': 296, 'n_tokens_neox': 285, 'n_words': 79}