<commit_before>#!/bin/bash

if [ `whoami` == "root" ]
then
	echo This script cannot be run as sudo!
	exit
fi

if grep -qE "(Microsoft|WSL)" /proc/version &> /dev/null ; then
    BASHRCFILE="/home/$USER/.bashrc"
    ALREADYHASBASHRCMODS=`grep "rw,noatime,fallback=1" $BASHRCFILE`
    if [ -f "$BASHRCFILE" -a ! -n "$ALREADYHASBASHRCMODS" ]; then
        wget -O- https://github.com/sillsdev/web-languageforge/blob/master/installer/bashrcFileAdditionsWSL.txt >> $BASHRCFILE
        echo "Amended $BASHRCFILE with WSL-specific instructions."
    fi
fi
<commit_msg>correct github url in fixWSL.sh<commit_after>#!/bin/bash

if [ `whoami` == "root" ]
then
	echo This script cannot be run as sudo!
	exit
fi

if grep -qE "(Microsoft|WSL)" /proc/version &> /dev/null ; then
    BASHRCFILE="/home/$USER/.bashrc"
    ALREADYHASBASHRCMODS=`grep "rw,noatime,fallback=1" $BASHRCFILE`
    if [ -f "$BASHRCFILE" -a ! -n "$ALREADYHASBASHRCMODS" ]; then
        wget -O- https://raw.githubusercontent.com/sillsdev/web-languageforge/master/installer/bashrcFileAdditionsWSL.txt >> $BASHRCFILE
        echo "Amended $BASHRCFILE with WSL-specific instructions."
    fi
fi

{'fraction_non_alphanumeric': 0.14173913043478262, 'fraction_numerical': 0.0017391304347826088, 'mean_word_length': 3.7172131147540983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '6050590', 'n_tokens_mistral': 454, 'n_tokens_neox': 436, 'n_words': 96}