<commit_before>#!/bin/sh
echo "Preparing MySQL environment"
# mysql setup
echo "Preparing db for roundcube 0.7.3"
echo  'CREATE DATABASE IF NOT EXISTS  roundcubemail_073;'  | mysql -uroot
echo "Preparing initial data for roundcube 0.7.3"
echo /var/www/roundcubemail-0.7.3/SQL/mysql.initial.sql
# echo /var/www/roundcubemail-0.7.3/SQL/mysql.initial.sql | mysql -uroot
echo "Preparing db for roundcube 0.8.2"
echo  'CREATE DATABASE IF NOT EXISTS  roundcubemail_082;'  | mysql -uroot
echo "Preparing initial data for roundcube 0.8.2"
echo /var/www/roundcubemail-0.8.2/SQL/mysql.initial.sql
# echo  /var/www/roundcubemail-0.8.2/SQL/mysql.initial.sql | mysql -uroot<commit_msg>Using correct cmd for showing SQL file conten<commit_after>#!/bin/sh
echo "Preparing MySQL environment"
# mysql setup
echo "Preparing db for roundcube 0.7.3"
echo  'CREATE DATABASE IF NOT EXISTS  roundcubemail_073;'  | mysql -uroot
echo "Preparing initial data for roundcube 0.7.3"
cat /var/www/roundcubemail-0.7.3/SQL/mysql.initial.sql
# cat /var/www/roundcubemail-0.7.3/SQL/mysql.initial.sql | mysql -uroot
echo "Preparing db for roundcube 0.8.2"
echo  'CREATE DATABASE IF NOT EXISTS  roundcubemail_082;'  | mysql -uroot
echo "Preparing initial data for roundcube 0.8.2"
cat /var/www/roundcubemail-0.8.2/SQL/mysql.initial.sql
# cat  /var/www/roundcubemail-0.8.2/SQL/mysql.initial.sql | mysql -uroot
{'fraction_non_alphanumeric': 0.119533527696793, 'fraction_numerical': 0.043731778425655975, 'mean_word_length': 4.123134328358209, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, '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': '1423709', 'n_tokens_mistral': 562, 'n_tokens_neox': 524, 'n_words': 132}