<commit_before>#!/bin/bash

set -e

cd /home/ubuntu
wget http://downloads.mysql.com/archives/get/file/mysql-5.6.19-linux-glibc2.5-x86_64.tar.gz
gunzip -cdfv mysql-5.6.19-linux-glibc2.5-x86_64.tar.gz | tar -vx 
rm mysql-5.6.19-linux-glibc2.5-x86_64.tar.gz
echo "PATH=\$PATH:/home/ubuntu/mysql-5.6.19-linux-glibc2.5-x86_64/bin/" >> .profile<commit_msg>Updating the PATH in .bashrc for non-interactive login shells, like terraform. Also a bit of refactoring to have less copy/pasting of that long file name<commit_after>#!/bin/bash

set -e

set version="5.6.19"
set target="mysql-${version}-linux-glibc2.5-x86_64"
set targz="${target}.tar.gz"

cd /home/ubuntu
wget http://downloads.mysql.com/archives/get/file/${targz}
gunzip -cdfv ${targz} | tar -vx 
rm ${targz}
echo "PATH=\$PATH:/home/ubuntu/${target}/bin/" >> .profile
echo "PATH=\$PATH:/home/ubuntu/${target}/bin/" >> .bashrc
{'fraction_non_alphanumeric': 0.18700114025085518, 'fraction_numerical': 0.05701254275940707, 'mean_word_length': 3.9886363636363638, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6549209', 'n_tokens_mistral': 406, 'n_tokens_neox': 369, 'n_words': 66}