<commit_before>#! /bin/msh

# Go into the directory of the application.
cd "`dirname "\`readlink -f \"$0\"\`"`" || exit $?

# Kill all stray process instances.
echo "Killing other instances of the application ..."
killall app 2> /dev/null

# Copy the web interface to the http server's root directory.
echo "Setting up the web interface ..."
rm -rf /home/httpd/*
gzip -d < www.tar.gz | tar -x -C /home/httpd/

# Run the application
echo "Running the application..."
./app
echo "The application quit with an exit status of $?."<commit_msg>! For some reason, nested command substitution stopped working ...<commit_after>#! /bin/msh

# Go into the directory of the application.
P=`readlink -f "$0"`
cd "`dirname "$P"`" || exit $?

# Kill all stray process instances.
echo "Killing other instances of the application ..."
killall app 2> /dev/null

# Copy the web interface to the http server's root directory.
echo "Setting up the web interface ..."
rm -rf /home/httpd/*
gzip -d < www.tar.gz | tar -x -C /home/httpd/

# Run the application
echo "Running the application..."
./app
echo "The application quit with an exit status of $?."
{'fraction_non_alphanumeric': 0.13539823008849558, 'fraction_numerical': 0.0035398230088495575, 'mean_word_length': 3.383720930232558, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5465710', 'n_tokens_mistral': 355, 'n_tokens_neox': 340, 'n_words': 158}