<commit_before>printf "This script is intended to work with Ubuntu 16.04.2 LTS, other versions may also\n"
printf "work. Root access is required to complete the installation. Press enter to continue,\n"
printf "or press CTRL + C to abort.\n"
read
sudo apt-get update
aptlist="git wget openssl coreutils make gcc libreadline-dev libssl-dev redis-server libssl-dev fortune-mod fortunes cowsay fortune unzip libexpat1-dev libcurl3 libcurl3-gnutls libcurl4-openssl-dev ruby ruby-dev"
for package in $aptlist
do
    printf "[Info] Installing $package...\n"
    sudo apt-get install $package
done
if [ ! -f "`which lua5.3`" ]
then
    printf "[Info] Downloading Lua 5.3.4...\n"
    sudo wget -N http://www.lua.org/ftp/lua-5.3.4.tar.gz
    printf "[Info] Extracting Lua 5.3.4...\n"
    tar zxf lua-5.3.4.tar.gz
    cd lua-5.3.4/
    printf "[Info] Building Lua 5.3.4...\n"
    sudo make linux test
    printf "[Info] Installing Lua 5.3.4...\n"
    sudo make install
    sudo mv -f /usr/bin/lua /usr/bin/lua5.3
    sudo cp /usr/bin/lua5.3 /usr/local/bin/lua5.3
    sudo mv -f /usr/bin/luac /usr/bin/luac5.3
    sudo cp /usr/bin/luac5.3 /usr/local/bin/luac5.3<commit_msg>Fixed the Ubuntu installation script<commit_after>printf "This script is intended to work with Ubuntu 16.04.2 LTS, other versions may also\n"
printf "work. Root access is required to complete the installation. Press enter to continue,\n"
printf "or press CTRL + C to abort.\n"
read
sudo apt-get update
aptlist="git wget openssl coreutils make gcc libreadline-dev libssl-dev redis-server libssl-dev fortune-mod fortunes cowsay fortune unzip libexpat1-dev libcurl3 libcurl3-gnutls libcurl4-openssl-dev ruby ruby-dev"
for package in $aptlist
do
    printf "[Info] Installing $package...\n"
    sudo apt-get install $package
done
if [ ! -f "`which lua5.3`" ]
then
    printf "[Info] Downloading Lua 5.3.4...\n"
    sudo wget -N http://www.lua.org/ftp/lua-5.3.4.tar.gz
    printf "[Info] Extracting Lua 5.3.4...\n"
    tar zxf lua-5.3.4.tar.gz
    cd lua-5.3.4/
    printf "[Info] Building Lua 5.3.4...\n"
    sudo make linux test
    printf "[Info] Installing Lua 5.3.4...\n"
    sudo make install
    sudo mv -f /usr/local/bin/lua /usr/bin/lua5.3
    sudo cp /usr/bin/lua5.3 /usr/local/bin/lua5.3
    sudo mv -f /usr/local/bin/luac /usr/bin/luac5.3
    sudo cp /usr/bin/luac5.3 /usr/local/bin/luac5.3
{'fraction_non_alphanumeric': 0.1288681644764731, 'fraction_numerical': 0.03730394234845273, 'mean_word_length': 2.862520458265139, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2100534', 'n_tokens_mistral': 946, 'n_tokens_neox': 860, 'n_words': 271}